Player icon indicating copy to clipboard operation
Player copied to clipboard

Entering/leaving fullscreen offsets the game screen

Open lumiscosity opened this issue 7 months ago • 1 comments

Image

Arch Linux, GNOME DE, X11, using SDL2 instead of the SDL3-based compat; first noticed the issue around the time of the SDL3 switch, but switching back hasn't fixed it, so maybe I missed it all this time somehow...

lumiscosity avatar Jun 06 '25 18:06 lumiscosity

Hu havn't seen this one before (and likely Gnome related as on KDE Wayland I have other bugs I also have to fix xD, e.g. cycling the zoom doesn't work (not cycling back to x1)).

Don't think we have much control about this, the window metrics appear to be wrong: Pretty sure the problem is that the window height includes the title bar. The black bar at the top is exactly half the size of the title bar.

The title bar is 36 px, the black bar is 18 px. So it adds a 18 px bar at top and bottom to center the Player output.

Ghabry avatar Jun 06 '25 19:06 Ghabry