Conversation
Every menu command can now take a shortcut, including the dozens that have none (the filters, Select › Color Range…, Image › Trim…, Layer › Rename Layer…): they are listed in a new section of Edit › Keyboard Shortcuts. The ⊗ button clears a shortcut, the default ones included, so a key can be freed. A Debug build stops with a clear message when a menu item asks for a shortcut that isn't registered, and tests keep the list free of duplicates and default conflicts. Saved shortcuts were read all or nothing, so one entry a build didn't know (a command renamed or added by a later version) threw away every custom shortcut; they are now read one at a time, keeping the ones that still apply. Fixed on the way: Delete recorded as U+0008 never matched the canvas's U+007F, so a recorded Delete didn't work. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The problem today
What changes for the user
How to try it
In the code
KeyboardShortcuts.swift: the assignable commands list, clearing (ShortcutChord.unassigned), the one-at-a-time loader, the Delete fix.CompositorApp.swift: menu items without a default get.assignableShortcut("Menu › Item"), so their key comes from the registry.KeyboardShortcutTests(13 tests): no duplicate ids, no conflicting defaults, clearing, recording Delete, loading a list with an unknown entry.Tested on macOS 26.6 (Apple silicon): the full test suite passes. Not yet tried on macOS 27.
🤖 Generated with Claude Code