Skip to content

feat(viewer): add the standard macOS menus, Apple's shortcuts and menu icons - #52

Merged
Mastersam07 merged 3 commits into
devfrom
feat/standard-mac-menus
Sep 24, 2026
Merged

Mastersam07 merged 3 commits into
devfrom
feat/standard-mac-menus

Conversation

@Mastersam07

@Mastersam07 Mastersam07 commented Sep 24, 2026 •

Copy link
Copy Markdown
Owner

What: The menu bar was built item by item as features landed, so the conventions every Mac app has were missing. Added: About, Services, Hide, Hide Others and Show All in the application menu; Undo, Redo, Cut, Copy and Select All as standard responder actions in Edit; a Window menu with Minimize, Zoom, Bring All to Front and NSApp.windowsMenu set so the open device windows are listed; and a Help menu, empty on purpose, because setting NSApp.helpMenu is what puts the macOS search field there. No Settings item: there is nothing to put in it yet.

AppKit also fills in more than expected once windowsMenu is set: Fill, Center, Move & Resize, Full Screen Tile and Remove Window from Set appear on their own, as do Writing Tools, AutoFill, Start Dictation and Emoji & Symbols in Edit.

The menu bar was built item by item as features landed, so the conventions every Mac app has were missing. The zoom shortcuts change to match the simulator this replaces.
AppKit decorates the rows it inserts itself, not the ones a menu built in code hands it, so the symbols are named from the inventory.
preferredImageVisibility is new there and defaults to automatic, which hides the image for a menu built in code.
@Mastersam07 Mastersam07 changed the title feat(viewer): add the standard macOS menus and take Apple's shortcuts feat(viewer): add the standard macOS menus, Apple's shortcuts and menu icons Sep 24, 2026
@Mastersam07
Mastersam07 merged commit aa233bf into dev Sep 24, 2026
1 of 2 checks passed
@Mastersam07
Mastersam07 deleted the feat/standard-mac-menus branch September 24, 2026 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant