Skip to content

Conversation

@signadou
Copy link
Contributor

@signadou signadou commented Oct 14, 2025

They were both using an NSMenu object that wasn't added to any menu, so macOS was ignoring them. This PR makes it so that the NSMenu instance that's added to the main app menu is used when available, or else the first NSMenu that has any supermenu.

Closes #263
Closes tauri-apps/tauri#13605
Closes tauri-apps/tauri#14199

They were both using an NSMenu object that wasn't added to any menu, so macOS was ignoring them.  This commit makes it so that the NSMenu instance that's added to the main app menu is used when available, or else the first NSMenu that has any supermenu.
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.

[bug] Window and Help menu are not working on MacOS set_as_help_menu_for_nsapp and set_as_windows_menu_for_nsapp are broken on macOS

1 participant