-
-
Notifications
You must be signed in to change notification settings - Fork 127
Description
I have three screens. The ones on the side are 1024×768
and the one in the middle is 1920×1080
. The primary screen (where the application launcher and the task bar is) is the middle screen (the one that is 1920×1080
).
$ xrandr --listmonitors
Monitors: 3
0: +*HDMI-1 1920/531x1080/299+1024+0 HDMI-1
1: +DP-3-2-1 1024/271x768/203+2944+0 DP-3-2-1
2: +DP-3-2-2 1024/271x768/203+0+0 DP-3-2-2
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.356086] [gui.display] TerminalWindow.resizeEvent: size 200x100 (200x100)
[2022-12-22 18:08:13.365841] [gui.display] initializeGL: size=186x100, scale=1
[2022-12-22 18:08:13.365871] [gui.display] Assigning session to terminal widget: shell=/bin/zsh, terminalSize=80x24, fontSize=12pt, contentScale=1
[2022-12-22 18:08:13.397024] [gui.display] Loading vertex shader: :/contour/display/shaders/text.vert
[2022-12-22 18:08:13.399889] [gui.display] Loading fragment shader: :/contour/display/shaders/text.frag
[2022-12-22 18:08:13.400112] [gui.display] Loading vertex shader: :/contour/display/shaders/background_image.vert
[2022-12-22 18:08:13.400131] [gui.display] Loading fragment shader: :/contour/display/shaders/background_image.frag
[2022-12-22 18:08:13.400248] [gui.display] Loading vertex shader: :/contour/display/shaders/background.vert
[2022-12-22 18:08:13.400260] [gui.display] Loading fragment shader: :/contour/display/shaders/background.frag
[2022-12-22 18:08:13.400578] [gui.display] configureAtlas: 1024x2048 RGBA
[2022-12-22 18:08:13.472936] [gui.display] Blurring background image: /home/whisperity/Pictures/Wallpapers/world-of-warcraft-lexith-warcraft-elf-devushka-night-elf.jpg
[2022-12-22 18:08:13.477649] [gui.display] Blur: Loading shader source :/contour/display/shaders/simple.vert
[2022-12-22 18:08:13.477780] [gui.display] Blur: Loading shader source :/contour/display/shaders/blur_gaussian.frag
[2022-12-22 18:08:13.477995] [gui.display] Blur: Loading shader source :/contour/display/shaders/simple.vert
[2022-12-22 18:08:13.478011] [gui.display] Blur: Loading shader source :/contour/display/shaders/dual_kawase_up.frag
[2022-12-22 18:08:13.478119] [gui.display] Blur: Loading shader source :/contour/display/shaders/simple.vert
[2022-12-22 18:08:13.478133] [gui.display] Blur: Loading shader source :/contour/display/shaders/dual_kawase_down.frag
[2022-12-22 18:08:13.591736] [gui.display] Blur: Gaussian run performance: 0.04s CPU.
[2022-12-22 18:08:13.595770] [gui.display] Background image from disk: 3840x2160 RGBA
[2022-12-22 18:08:13.609789] [gui.display] [FYI] Build type : RelWithDebInfo
[2022-12-22 18:08:13.609815] [gui.display] [FYI] Application PID : 47631
[2022-12-22 18:08:13.609817] [gui.display] [FYI] OpenGL type : OpenGL
[2022-12-22 18:08:13.609823] [gui.display] [FYI] OpenGL renderer : Mesa Intel(R) Xe Graphics (TGL GT2)
[2022-12-22 18:08:13.609831] [gui.display] [FYI] Qt platform : xcb
[2022-12-22 18:08:13.609839] [gui.display] [FYI] OpenGL version : 4.6
[2022-12-22 18:08:13.609847] [gui.display] [FYI] Content scaling : 1
[2022-12-22 18:08:13.609856] [gui.display] [FYI] GLSL version : 4.60 (460, 450, 440, 430, 420, 410, 400, 330, 150, 140, 130, 120, 320 es, 310 es, 300 es, 100)
[2022-12-22 18:08:13.609865] [gui.display] [FYI] Refresh rate : 60.00384024577573 Hz
[2022-12-22 18:08:13.609870] [gui.display] [FYI] Screen size : 1024x768
[2022-12-22 18:08:13.609873] [gui.display] [FYI] Logical DPI : 96x96
[2022-12-22 18:08:13.609880] [gui.display] [FYI] Physical DPI : 96x96
[2022-12-22 18:08:13.609884] [gui.display] [FYI] Device pixel ratio : 1
[2022-12-22 18:08:13.609888] [gui.display] [FYI] Content scale : 1
[2022-12-22 18:08:13.609893] [gui.display] [FYI] Font DPI : 96x96 (96x96)
[2022-12-22 18:08:13.609897] [gui.display] [FYI] Font size : 12pt (16 px)
[2022-12-22 18:08:13.609899] [gui.display] [FYI] Cell size : 10x22 px
[2022-12-22 18:08:13.609902] [gui.display] [FYI] Page size : 80x24
[2022-12-22 18:08:13.609905] [gui.display] [FYI] Font baseline : 5 px
[2022-12-22 18:08:13.609907] [gui.display] [FYI] Underline position : 3 px
[2022-12-22 18:08:13.609910] [gui.display] [FYI] Underline thickness : 1 px
[2022-12-22 18:08:13.684413] [gui.display] Blurring background image: /home/whisperity/Pictures/Wallpapers/world-of-warcraft-lexith-warcraft-elf-devushka-night-elf.jpg
[2022-12-22 18:08:13.689817] [gui.display] Blur: Loading shader source :/contour/display/shaders/simple.vert
[2022-12-22 18:08:13.689973] [gui.display] Blur: Loading shader source :/contour/display/shaders/blur_gaussian.frag
[2022-12-22 18:08:13.690171] [gui.display] Blur: Loading shader source :/contour/display/shaders/simple.vert
[2022-12-22 18:08:13.690193] [gui.display] Blur: Loading shader source :/contour/display/shaders/dual_kawase_up.frag
[2022-12-22 18:08:13.690305] [gui.display] Blur: Loading shader source :/contour/display/shaders/simple.vert
[2022-12-22 18:08:13.690323] [gui.display] Blur: Loading shader source :/contour/display/shaders/dual_kawase_down.frag
[2022-12-22 18:08:13.777005] [gui.display] Blur: Gaussian run performance: 0.275s CPU.
[2022-12-22 18:08:13.780373] [gui.display] Background image from disk: 3840x2160 RGBA
[2022-12-22 18:08:13.789122] [gui.display] TerminalWindow.resizeEvent: size 682x512 (682x512)
[2022-12-22 18:08:13.790841] [gui.display] Resizing view to 668x512 virtual (668x512 actual).
[2022-12-22 18:08:13.790849] [gui.display] Setting render target size to 668x512.
[2022-12-22 18:08:13.791254] [gui.display] GL configure atlas: 1024x2048 RGBA GL texture Id 4
[2022-12-22 18:08:13.802065] [gui.display] Resizing view to 668x512 virtual (668x512 actual).
[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...