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

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
Ayamari
Inserter
Inserter
Posts: 37
Joined: Sat Nov 12, 2016 10:51 am

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

Post 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 55 times
Attachments
factorio-current.log
(6.82 KiB) Downloaded 45 times
User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 579
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

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

Post 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.
Don't forget, you're here forever.
User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 579
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

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

Post 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?
Don't forget, you're here forever.
Ayamari
Inserter
Inserter
Posts: 37
Joined: Sat Nov 12, 2016 10:51 am

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

Post 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.
Post Reply

Return to “1 / 0 magic”