-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
platform: macOSstatus: needs triageThis issue needs to triage, applied to new issuesThis issue needs to triage, applied to new issuesstatus: upstreamThis issue is blocked by upstream dependencies and we need to wait or contribute upstream fixesThis issue is blocked by upstream dependencies and we need to wait or contribute upstream fixestype: bug
Description
Describe the bug
- When setting up the
Window
orHelp
menu on macOS the default menu items are missing -> For theHelp
menu that would be the search bar and for the theWindow
menu that would be theMove & Resize
andFull Screen Tile
items in the menu. - Also, the documentation says that the
Help
menu should be recognized automatically when namedHelp
, but it is not. - Related but from the JS side: [bug]
setAsHelpMenuForNSApp
is not working #12652
Reproduction
This is how I setup the menu:
let report_issue = MenuItem::with_id(
app,
"report-issue",
"Report Issue...",
true,
Some("Ctrl+F"),
)?;
let help_submenu = SubmenuBuilder::new(app, "Help") // also does not work when setting with tauri::menu::HELP_SUBMENU_ID
.item(&report_issue)
.build()?;
let window = SubmenuBuilder::with_id(app, WINDOW_SUBMENU_ID, "Window")
.build()?; // No Move & Resize and Full Screen Tile menu items (does not work)
let menu = MenuBuilder::new(app)
.items(&[&help_submenu, &window])
.build()?;
Ok(menu)
Full tauri info
output
[✔] Environment
- OS: Mac OS 15.5.0 arm64 (X64)
✔ Xcode Command Line Tools: installed
✔ rustc: 1.87.0 (17067e9ac 2025-05-09)
✔ cargo: 1.87.0 (99624be96 2025-05-06)
✔ rustup: 1.28.2 (e4f3ad6f8 2025-04-28)
✔ Rust toolchain: stable-aarch64-apple-darwin (default)
- node: 22.14.0
- npm: 11.3.0
- bun: 1.2.15
[-] Packages
- tauri 🦀: 2.5.1
- tauri-build 🦀: 2.2.0
- wry 🦀: 0.51.2
- tao 🦀: 0.33.0
- @tauri-apps/api : 2.5.0
- @tauri-apps/cli : 2.5.0
[-] Plugins
- tauri-plugin-opener 🦀: 2.2.7
- @tauri-apps/plugin-opener : 2.2.7
- tauri-plugin-dialog 🦀: 2.2.2
- @tauri-apps/plugin-dialog : 2.2.2
- tauri-plugin-fs 🦀: 2.3.0
- @tauri-apps/plugin-fs : not installed!
[-] App
- build-type: bundle
- CSP: unset
- frontendDist: ../dist
- devUrl: http://localhost:1420/
- framework: Vue.js
- bundler: Vite
Metadata
Metadata
Assignees
Labels
platform: macOSstatus: needs triageThis issue needs to triage, applied to new issuesThis issue needs to triage, applied to new issuesstatus: upstreamThis issue is blocked by upstream dependencies and we need to wait or contribute upstream fixesThis issue is blocked by upstream dependencies and we need to wait or contribute upstream fixestype: bug