Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding/deleting tabs and window size #117

Open
tmsg-gh opened this issue Aug 13, 2023 · 3 comments
Open

Adding/deleting tabs and window size #117

tmsg-gh opened this issue Aug 13, 2023 · 3 comments

Comments

@tmsg-gh
Copy link

tmsg-gh commented Aug 13, 2023

I am an Xfce4 user but have swapped their terminal for lxterminal, mostly because theirs can't load a monospace font (Dina) I want to use; lxterminal is fine WRT that font.

But I have a (small) problem with tabs. When I create a 2nd tab, the lxterminal window shrinks a little (apparently this: #24 ). When I remove the 2nd tab the window shrinks again. Yep, rinse and repeat and the window gets smaller and smaller. It's not a biggie as I rarely close tabs but it's certainly not working as intended, or so I assume.

@FinboySlick
Copy link
Contributor

That's a tough one to fix. I think we had it mostly working properly on GTK2 at some point but I haven't had time to look into it since. The gist of the problem is that GTK3 does not give us the information needed to compute the proper size of the window until after it is done drawing the window at the wrong size.

@uli42
Copy link

uli42 commented Apr 10, 2024

I have a similiar problem when using the key-combos for zoom. The window gets a bit smaller everytime...

@tmsg-gh
Copy link
Author

tmsg-gh commented May 28, 2024

I've found a half-baked but acceptable workaround for that buglet. I am using devilspie2 for many things and it occured to me that I could use its focus feature. I have simply defined a resize-to-correct-window-size action that's triggered whenever lxterminal gets the focus. That's good enough for me though an eventual resolution would be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants