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

Split terminals get resized after focus is lost #562

Open
Vulcalien opened this issue Dec 27, 2021 · 2 comments
Open

Split terminals get resized after focus is lost #562

Vulcalien opened this issue Dec 27, 2021 · 2 comments

Comments

@Vulcalien
Copy link
Member

Vulcalien commented Dec 27, 2021

Describe the bug
After splitting a terminal, if the focus is lost on the containing paned, the terminal resizes.
I think this is the same bug I was talking about in #553

To Reproduce

  • Split a terminal into two (horizontally or vertically)
  • Split again (either way)
  • Notice that the terminals get resized by a few pixels

Alternative:

  • Split a terminal into two
  • Switch to another window, so that Terminator loses focus
  • Notice that the terminals get resized by a few pixels

Expected behavior
I don't see any reason for this to happen

Desktop

  • OS or Linux Distribution: Debian
  • Version: bookworm (testing)
  • Display Technology: X11

Edit: it might have something to do with the titlebar. In my profile, I don't have it and the issue occurs. When I put it on, I don't think the bug is there.

@mattrose
Copy link
Member

Did the pr #553 fix this? If so, can you close?

@Vulcalien
Copy link
Member Author

Did the pr #553 fix this?

I can still reproduce the bug after merging the PR. I remember trying to figure out why that was happening, but finding nothing.
It's definitely an undesired behavior.

It's as if the "Paned"s added some padding. Or maybe the code that splits the terminal somehow calculates the size inaccurately.

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

2 participants