Skip to content

Qt: Fix Big Picture Mode mnemonic shortcut lost after state change#14245

Open
Vishrut2403 wants to merge 1 commit intoPCSX2:masterfrom
Vishrut2403:fix/big-picture-mode-shortcut
Open

Qt: Fix Big Picture Mode mnemonic shortcut lost after state change#14245
Vishrut2403 wants to merge 1 commit intoPCSX2:masterfrom
Vishrut2403:fix/big-picture-mode-shortcut

Conversation

@Vishrut2403
Copy link
Copy Markdown

Description of Changes

onFullscreenUIStateChange() was setting the action text to "Start Big Picture Mode" (without the & mnemonic) when exiting Big Picture mode, while the .ui file correctly defines it as "Start Big Picture &Mode". This caused the keyboard shortcut to stop working after exiting Big Picture mode.

Rationale behind Changes

The Qt mnemonic ampersand (&) was missing from the tr() call in onFullscreenUIStateChange(), causing the underlined shortcut letter to disappear from the System menu after exiting Big Picture mode. The fix reuses strings that already exist in all translation files, so no translation updates are needed.

Suggested Testing Steps

  1. Launch PCSX2
  2. Open System menu -> confirm M is underlined in "Start Big Picture Mode"
  3. Enter Big Picture mode
  4. Exit Big Picture mode
  5. Open System menu again -> M should still be underlined

Fixes #13584

Did you use AI to help find, test, or implement this issue or feature?

No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: Big Picture mode only starts with the key combination once when the emulator is launched.

1 participant