Emulator Issues #12466

Pressing Alt + F4 loads the 4th savestate with the default hotkeys

Added by Nickps 11 days ago. Updated 11 days ago.

% Done:


Operating system:
Issue type:
Relates to usability:
Relates to performance:
Relates to maintainability:
Regression start:
Fixed in:


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?

  1. Open any game
  2. Press Alt + F4
  3. 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 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.


#1 Updated by Techjar 11 days ago

The default hotkeys include negations for the modifiers, so this can't be true.

#2 Updated by Techjar 11 days ago

Scratch that, someone forgot to include the modifier exclusion bit in the new defaults.

#4 Updated by Nickps 11 days 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 . So the PR doesn't fix it for me

#5 Updated by Techjar 11 days ago

Are you sure? @(F4) should fire only for F4 with no modifiers.

#6 Updated by Techjar 11 days 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."


#7 Updated by Techjar 11 days 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.

Also available in: Atom PDF