JGCarroll / runescape-snap

MIT License
11 stars 2 forks source link

Fedora 32 Gnome 3 Runescape3 Fullscreen Issues #4

Closed bryce-carson closed 4 years ago

bryce-carson commented 4 years ago

The use of the in-game 'Fullscreen Mode' setting causes Gnome to incorrectly display the window within the overview. Switching virtual desktops seems to 'minimize the window, and upon return to the virtual desktop Runescape was occupying it is not visible. When the overview is opened on that desktop, the display of the window is incorrect and stretches to the right of the display outside the normal bounds.

A temporary solution is to define a keyboard shortcut for making windows fullscreen within Gnome 3 itself and using that to bring the game into fullscreen. This fixes all apparent issues, other than some initial stuttering when switching back to a full-screen Runescape 3 session.

JGCarroll commented 4 years ago

I've enabled SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 by default. This should prevent the game minimising when it loses focus, and hopefully this will also avoid the stretching of the display bounds glitch, although that sounds more like a Gnome shell problem than something I could directly help with. Still, I'm interested to know if it does/doesn't fix the stretching portion.

The update should apply itself automatically shortly (Anywhere from 1-36 hours), but you can hurry it up by running sudo snap refresh to get it sooner than the automatic update interval.

bryce-carson commented 4 years ago

I refreshed the snap (it's the only one I have installed on my system) and all issues described are resolved. Wonderfully speedy support, MrCarroll! Thanks!

I've enabled SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 by default. This should prevent the game minimising when it loses focus, and hopefully this will also avoid the stretching of the display bounds glitch, although that sounds more like a Gnome shell problem than something I could directly help with. Still, I'm interested to know if it does/doesn't fix the stretching portion.

The update should apply itself automatically shortly (Anywhere from 1-36 hours), but you can hurry it up by running sudo snap refresh to get it sooner than the automatic update interval.