libretro / scummvm

ScummVM main repository
https://www.scummvm.org
GNU General Public License v3.0
5 stars 6 forks source link

Full screen/windowed mode toggle leads to black screen on Linux #60

Open heldderarbeit opened 1 month ago

heldderarbeit commented 1 month ago

Load Core -> ScummVM -> Start Core from windowed Mode: ScummVM GUI is correctly rendered in a window, but if you press F key you get a black screen in fullscreen mode. If you press F again, you get a black screen in a window

Screencast from 2024-07-30 06-31-45.webm

Load Core -> ScummVM -> Start Core from fullscreen mode: ScummVM GUI is correctly shown in in fullscreen mode, but if you press F key you get a black screen in a window

If you move the mouse a white rectangle appears inside the black screen.

Screenshot from 2024-07-30 06-16-27

This is the only core where I've seen this behaviour. At least in Dosbox-pure, the both N64 cores and Snes9x the toggle between fullscreen and windowed mode is working as expected.

System is Arch and RetroArch 1.19.1 from Flathub. This bug occurs on: Gnome X11 Gnome Wayland Plasma X11 Plasma Wayland

Running ScummVM 2.8.1 from Flathub directly does not have this problem (Here toggling between fullscreen and windowed mode with Alt + Enter is working just fine).

retroarch.log

gouchi commented 1 month ago

I reproduce also this issue on X11 with RA from source.

spleen1981 commented 1 month ago

Does it work if the core is started with the GUI already in full screen mode?

gouchi commented 1 month ago

@spleen1981 Yes, the issue also happens when the core is started with the GUI already in full screen mode.