Project

General

Profile

Actions

Emulator Issues #12466

open

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

Added by Nickps over 3 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

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?

  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 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.


Related issues 1 (1 open0 closed)

Related to Emulator - Emulator Issues #11913: Game terminates when focusing render windowNew

Actions
Actions #1

Updated by Techjar over 3 years ago

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

Actions #2

Updated by Techjar over 3 years ago

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

Actions #4

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

Actions #5

Updated by Techjar over 3 years ago

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

Actions #6

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...

Actions #7

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.

Actions #8

Updated by Billiard26 9 months ago

Actions

Also available in: Atom PDF