pcsx2 icon indicating copy to clipboard operation
pcsx2 copied to clipboard

[BUG]: Stopping emulation while in full screen quits the emulator (macOS)

Open DigitalMajestic opened this issue 7 months ago • 2 comments

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

emubug.zip

DigitalMajestic avatar Jun 04 '25 04:06 DigitalMajestic

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

SquishyLeaf avatar Jun 04 '25 19:06 SquishyLeaf

Can't reproduce here.

F0bes avatar Jun 07 '25 19:06 F0bes

Confirm that this happens on PCSX2 v2.5.202 (Linux, arch, wayland) as well.

ScriptJunky avatar Oct 09 '25 13:10 ScriptJunky

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?

n3thshan avatar Nov 08 '25 11:11 n3thshan

Devs, should i open a separate issue since its linux?

No, I'll edit the title to reflect that it's multi OS

DigitalMajestic avatar Nov 08 '25 18:11 DigitalMajestic

@ScriptJunky @n3thshan Are you existing using the pause menu overlay? or some other means?

TheLastRar avatar Nov 08 '25 18:11 TheLastRar

@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

n3thshan avatar Nov 08 '25 20:11 n3thshan

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.

Image

ScriptJunky avatar Nov 08 '25 20:11 ScriptJunky

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 avatar Nov 08 '25 21:11 TheLastRar

@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

n3thshan avatar Nov 09 '25 06:11 n3thshan