Skip to content

fix(ui): make punctuation hotkeys layout-independent#9174

Open
DustyShoe wants to merge 1 commit into
invoke-ai:mainfrom
DustyShoe:fix(UI)-hotkeys-layout-independent-punctuation
Open

fix(ui): make punctuation hotkeys layout-independent#9174
DustyShoe wants to merge 1 commit into
invoke-ai:mainfrom
DustyShoe:fix(UI)-hotkeys-layout-independent-punctuation

Conversation

@DustyShoe
Copy link
Copy Markdown
Collaborator

Summary

Fix punctuation-based hotkeys in invokeai/frontend/web so they use layout-independent physical key identifiers instead of layout-dependent characters. This keeps canvas tool width shortcuts and related punctuation bindings working when a non-English keyboard layout is active. The change centralizes hotkey normalization and display formatting, canonicalizes legacy persisted bindings, and adds focused test coverage.

Also stabilize a flaky timeout assertion in invokeai/frontend/web/src/features/ui/layouts/navigation-api.test.ts so the required frontend build passes reliably under full-suite load.

Related Issues / Discussions

N/A

QA Instructions

  1. Open the canvas with a non-English keyboard layout active.
  2. Select the brush or eraser tool.
  3. Press the physical [ and ] keys and confirm the tool width changes.
  4. Open the hotkeys modal and confirm the bindings still display as [ and ].

Merge Plan

None.

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • ❗Changes to a redux slice have a corresponding migration
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

@github-actions github-actions Bot added the frontend PRs that change frontend files label May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend PRs that change frontend files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant