Skip to content

Frame advance bug that prevent hotkeys from working #55

@Blounard

Description

@Blounard

When a game is emulated, if you :
-pause the emulation (tested with the pause hotkey, while having focus on the emulation render window)
-lose focus on the emulation render window (for example by clicking on the Main Dolphin window, or just alt tab),
-click back on the emulation render window
-frame advance twice with the frame advance hotkey

You will be in a state where seemingly no hotkey no longer works. This include hotkeys from keyboard, but also hotkeys from controller.
To unpause the game, clicking on the "Play" button on the Main Dolphin window works.

This bug does not happen if you have the option Configuration -> Interface -> Hotkeys Require Window Focus disabled.

I figured this bug also does not happen if you build dolphin without the line API::GetGui().Render(); in OnScreenUI::Finalize in Source/Core/VideoCommon/OnScreenUI.cpp (but it remove the ability for scripts to display text on screen as far as i know)

Edit : It seems that the bug does not happen if when you click back on the emulation render window, you click on the window title bar. It also seems fine when you simply alt tab back to the emulation render window. It start breaking when you click inside the emulation render window itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions