Emulator Issues #12466
openPressing Alt + F4 loads the 4th savestate with the default hotkeys
0%
Description
Game Name?
Every game
What's the problem? Describe what went wrong.
The Alt + F4 shortcut correctly makes Dolphin ask if the emulation should be stopped but it also loads the 4th savestate if the default bindings are used.
What steps will reproduce the problem?
- Open any game
- Press Alt + F4
- The 4th state will be loaded or Dolphin's window title will change to "State not found"
Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
Yes 5.0-13947
Is the issue present in the latest stable version?
It's not.
If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)
5.0-12703 (It would be 5.0-12697 if the default bindings weren't broken on that version)
What are your PC specifications? (CPU, GPU, Operating System, more)
I assume this is only dependent on the bindings and therefore should happen on every system but I only tested in on Windows 10 since I don't have a Linux VM available at the moment.
Updated by Techjar over 3 years ago
The default hotkeys include negations for the modifiers, so this can't be true.
Updated by Techjar over 3 years ago
Scratch that, someone forgot to include the modifier exclusion bit in the new defaults.
Updated by Techjar over 3 years ago
Updated by Nickps over 3 years ago
I forgot, putting the @ before the F4 was the first thing I tried and it didn't fix it. If I had to guess it's because of the last paragraph of https://github.com/dolphin-emu/dolphin/pull/8428#issue-331785023 . So the PR doesn't fix it for me
Updated by Techjar over 3 years ago
Are you sure? @(F4) should fire only for F4 with no modifiers.
Updated by Techjar over 3 years ago
Oh, I have misunderstood how the system works. There's a bit here: "@(Ctrl+O) Does not know Shift is a modifer unless a @(Shift+O) hotkey also exists."
Hmm...
Updated by Techjar over 3 years ago
Yeah seems like the only good solution to this is going to be handling keyboard/mouse input through Qt instead of DirectInput. This can be done, it'll just take a bit more effort.
Updated by Billiard26 8 months ago
- Related to Emulator Issues #11913: Game terminates when focusing render window added