[BUG]: Stopping emulation while in full screen quits the emulator (macOS)
Describe the Bug
From the emulation pause menu, selecting "close game" should always return the emulator to the game list. However, when in full screen this exits the entire emulator. This appears to only affect macOS.
Reproduction Steps
Start game, enter full screen, exit game.
Expected Behavior
Return to the game list instead of quitting the emulator
PCSX2 Revision
2.3.395
Operating System
macOS 14 (Sonoma)
If Linux - Specify Distro
macOS 15.5
Logs & Dumps
This happens to me on current master (ae4be6e2b12a6e9ee724e29c387ea4304c4da412) as well. Keeping another window open (e.g. the log window) while exiting the game prevents this issue from happening.
Deleting lines 163-164 of DisplayWidget.cpp appears to fix this, though I'm not sure if it doesn't break something else.
https://github.com/PCSX2/pcsx2/blob/ae4be6e2b12a6e9ee724e29c387ea4304c4da412/pcsx2-qt/DisplayWidget.cpp#L159-L165
Can't reproduce here.
Confirm that this happens on PCSX2 v2.5.202 (Linux, arch, wayland) as well.
This behaviour is there on the flatpak version as well with "Borderless Fullscreen". haven't tested other window modes
Additional Information
Version: PCSX2 v.2.4.0 (Flathub) Distro: Project Aurora 42 (Based on Fedora Kinoite)
Devs, should i open a separate issue since its linux?
Devs, should i open a separate issue since its linux?
No, I'll edit the title to reflect that it's multi OS
@ScriptJunky @n3thshan Are you existing using the pause menu overlay? or some other means?
@ScriptJunky yes i am using the pause menu overlay, since im using fullscreen by default. but when in windowed mode, exiting using the menu bar does not exhibit this behaviour
Yes, same as @n3thshan. Screenshot of last viewable in PCSX2 before it exits the emulator completely, with the last clicked on element before closure highlighted.
Can you two confirm if https://github.com/PCSX2/pcsx2/pull/13466 changes it for you I didn't get that behaviour on Windows on Master.
@TheLastRar issue still persists. this only happens when exiting using the overlay when fullscreen. in windowed mode, exiting using the overlay does not exhibit this behaviour.
Version: PCSX2 v2.5.268-2-ga194ec5ff