Skip to content

fix(ui): prevent disabled hotkeys from blocking shared keys - #9569

Open
DustyShoe wants to merge 1 commit into
invoke-ai:mainfrom
DustyShoe:fix/disabled-hotkeys-block-shared-keys
Open

fix(ui): prevent disabled hotkeys from blocking shared keys#9569
DustyShoe wants to merge 1 commit into
invoke-ai:mainfrom
DustyShoe:fix/disabled-hotkeys-block-shared-keys

Conversation

@DustyShoe

@DustyShoe DustyShoe commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

Follow-up to #9482.

The Canvas eyedropper and Viewer metadata panel both use I. Disabled hotkeys were wrapped in an enabled callback, causing react-hotkeys-hook to keep their listeners registered. A disabled listener could then block the active handler for the same key.

This keeps enabled: false static so disabled hotkeys are not registered, while preserving the Canvas Text session guard and custom predicates.

Expected behavior

Clicking a gallery thumbnail moves focus to Gallery, so I does not toggle Viewer metadata until Viewer regains focus.
Navigating between images with the arrow keys keeps focus in Viewer, so I continues to toggle metadata.

Related Issues / Discussions

Re-Closes #9467

QA Instructions

  • Open Canvas and confirm I selects the eyedropper.
  • Open Viewer with Z and confirm I toggles metadata.

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 Sep 4, 2026
@DustyShoe
DustyShoe marked this pull request as ready for review September 4, 2026 14:23
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.

[bug]: "i" hotkey on canvas no longer activates the eyedropper tool

1 participant