-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
Sampling of resolution is taking the wrong screen as baseline #940
Labels
bug
Something isn't working
Comments
whisperity
changed the title
Sampling of resolution is taking the wrong screen as baselinehttps://github.com/contour-terminal/contour/pulse
Sampling of resolution is taking the wrong screen as baseline
Dec 22, 2022
Some additional info,
One monitor 2560x1440
Two monitors : 1024x768 and 2560x1440 (repro of the bug)
It seams that the bug itself caused by resizeEvent, it tries to conserve ratio of the window |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have three screens. The ones on the side are
1024×768
and the one in the middle is1920×1080
. The primary screen (where the application launcher and the task bar is) is the middle screen (the one that is1920×1080
).Let's suppose now I start Contour in this configuration. What is observed, is that the window, when compared against the entire viewport, is of a really weird and unusual shape:
The relevant log entries:
[2022-12-22 18:08:13.609870] [gui.display] [FYI] Screen size : 1024x768
[2022-12-22 18:08:13.817389] [gui.display] Screen changed.
So it seems it is sampling one of the other screens, not the screen it is starting on. And somehow it detect a screen change (???) but does not react to it in any way.
If I have all three screens
1920×1080
(that is the normal operation, just before I installed the relevant configuration files I was only able to get the smaller thing on the side screen, blame the hardware), even the keybind-opened Contour had a weird default shape.Side note: It seems Konsole is also affected. If the side screens are small, Konsole starts with
25×4
character size...The text was updated successfully, but these errors were encountered: