Page 1 of 1

[raiguard] [1.1.105] [Linux/Wayland/Gnome] Switching away from maximized window resizes game

Posted: Mon Mar 25, 2024 7:54 am
by Ayamari
When running the game using

Code: Select all

SDL_VIDEODRIVER=wayland ./bin/x64/factorio
When I maximize the game window, then switch to a different window (on second monitor) the game window resizes. This only happens when using Wayland.
Screencast from 2024-03-25 08-42-21.mp4
Maximized window resizes when I click on a different window
(6.84 MiB) Downloaded 54 times

Re: [raiguard] [1.1.105] [Linux/Wayland] Switching away from maximized window resizes game

Posted: Wed Mar 27, 2024 10:23 pm
by raiguard
Thanks for the report. This appears to be an SDL + libdecor bug but I haven't figured out the exact cause just yet.

Re: [raiguard] [1.1.105] [Linux/Wayland/Gnome] Switching away from maximized window resizes game

Posted: Sun Jul 28, 2024 12:27 am
by raiguard
When I originally replied I was able to reproduce this, but I tried again on both 1.1 and 2.0 and it no longer happens. I am on Gnome 46 Wayland. Could you give it another try and see if it still happens for you?

Re: [raiguard] [1.1.105] [Linux/Wayland/Gnome] Switching away from maximized window resizes game

Posted: Fri Aug 09, 2024 11:31 am
by Ayamari
Unfortunately, I can still reproduce it.

Factorio 1.1.109 (build 62320, linux64, full)
Debian 12.6 (bookworm)
GNOME Version 43.9 on Wayland

EDIT: To be clear, on my setup (as listed above) this happens every single time when running the game with

Code: Select all

SDL_VIDEODRIVER=wayland ./bin/x64/factorio
It's not random, so if there's some extended debugging options I could enable to help you out, I can run that.