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

Window size is wrong in new tabs #34

Open
LogicalJoe opened this issue Mar 5, 2020 · 5 comments
Open

Window size is wrong in new tabs #34

LogicalJoe opened this issue Mar 5, 2020 · 5 comments

Comments

@LogicalJoe
Copy link

LogicalJoe commented Mar 5, 2020

When it opens a new tab (not window), the window sizing is wrong (it cuts off the bottom) as it maintains the original size. It is not corrected until the window is resized, or is pulled out into a new window.
Screen Shot 2020-03-05 at 15 33 46
Screenshot should say enough.
This also applies to the "TiLP2" tab as the window is resized but it doesn't acknowledge it.
The setting that affects this (MacOS) is System Preferences>Dock>Prefer tabs when opening documents>Always.

@adriweb
Copy link
Contributor

adriweb commented Mar 5, 2020

Yeah, looks like GTK is all confused about sizes when the OS makes windows be tabs.
Not sure this is really fixable on our side?

@debrouxl
Copy link
Owner

debrouxl commented Mar 8, 2020

That sure looks ugly, but I don't know either whether TILP can do anything about it.
It could make sense to test the GTK+3 build ?

@adriweb
Copy link
Contributor

adriweb commented Mar 12, 2020

Was able to repro on my master build.
Tried it with GTK+3, it forces a new window despite the system tab setting set to Always, so the problem can't even happen. Oh well :)

@debrouxl
Copy link
Owner

Thanks for testing :)
Well, then we can't do much about it with GTK+2.

@adriweb
Copy link
Contributor

adriweb commented Mar 13, 2020

Well there's probably a way, like calling the resize handler manually or some silly trick like that.

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