[raiguard][2.0.32] Mouse pointer offset on fullscreen change
Posted: Sat Jan 25, 2025 6:27 pm
So i found this weird bug where factorios screen gets broken when you have most likely windows change the size of the screen temporarily.
For those who are wondering what the bug is. Look where my mouse is and what is selected. Its 100% misaligned.
So my setup:
I have 2 screens, 1x 1920x1080 (16:9), and 1x 1920x1200 (16:10)
On my 16:9 monitor i have a Fullscreen app running and on my 16:10 i have a Fullscreen windowed mode factorio instance open.
Sometimes this Fullscreen app switches around between Fullscreen and non Fullscreen and back.
For some reason that causes factorios screen to go to from 16:10 to 16:9 and then back to 16:10.
Not even sure if factorio picks that up but the screen is treated as 16:10 but the window is only 16:9..
Some real interesting desync happening here.
For those who are wondering what the bug is. Look where my mouse is and what is selected. Its 100% misaligned.
So my setup:
I have 2 screens, 1x 1920x1080 (16:9), and 1x 1920x1200 (16:10)
On my 16:9 monitor i have a Fullscreen app running and on my 16:10 i have a Fullscreen windowed mode factorio instance open.
Sometimes this Fullscreen app switches around between Fullscreen and non Fullscreen and back.
For some reason that causes factorios screen to go to from 16:10 to 16:9 and then back to 16:10.
Not even sure if factorio picks that up but the screen is treated as 16:10 but the window is only 16:9..
Some real interesting desync happening here.