RetroArch icon indicating copy to clipboard operation
RetroArch copied to clipboard

Combining Game Focus with Menu

Open chinagreenelvis opened this issue 9 months ago • 2 comments

Description

In version 1.15, I set up the menu and game-focus hotkeys to be scroll_lock so that I'm able to bring up the menu when auto game-focus mode is on (necessary for Dosbox Pure). Pressing the button once disables game-focus and brings up the menu; pressing it again exits the menu and brings back game-focus.

In all versions after 1.15, the game-focus is not restored when exiting the menu this way.

Expected behavior

When both menu and game-focus are bound to a single key, pressing that key twice (to exit the menu) should restore game-focus.

Actual behavior

Game focus is not restored.

Steps to reproduce the bug

  1. Bind menu and game-focus to scroll_lock
  2. Start a text-based game in Dosbox
  3. Press scroll_lock twice
  4. attempt to type

Bisect Results

After updating from 1.15 to 1.18; the behavior was changed in 1.16

Version/Commit

  • RetroArch: 1.16, 1.17, 1.18

Environment information

  • OS: Windows 10 64bit

chinagreenelvis avatar May 18 '24 22:05 chinagreenelvis

This is less of a bug and more a case of making clever use of undefined/unintentional behavior. Unfortunately, that sort of thing is always at risk of being wiped out by changes to the underlying feature.

It was probably @sonninnos who changed/fixed the behavior, in which case it'd likely be up to him whether to try and restore this unintended (but, again, quite clever) behavior or not.

hizzlekizzle avatar May 19 '24 01:05 hizzlekizzle

Either that or an option to exempt the menu hotkey from game-focus would be helpful, just so much more convenient to hit one button rather than two each time I want to enter the menu for save states.

chinagreenelvis avatar May 19 '24 06:05 chinagreenelvis