Skip to content

Conversation

probablykasper
Copy link
Member

Fixes #13605

By default, macOS auto-detects the Help submenu and adds a search bar to it. But since muda's set_as_help_menu_for_nsapp is broken (tauri-apps/muda#263), the search bar would never show at for any app ever - So I've disabled that code for the time being.

@probablykasper probablykasper requested a review from a team as a code owner September 20, 2025 01:16
@github-project-automation github-project-automation bot moved this to 📬Proposal in Roadmap Sep 20, 2025
Copy link
Contributor

github-actions bot commented Sep 20, 2025

Package Changes Through c887d04

There are 9 changes which include @tauri-apps/api with minor, tauri-cli with minor, tauri-utils with minor, tauri-runtime-wry with minor, tauri-runtime with minor, tauri with minor, tauri-bundler with minor, @tauri-apps/cli with minor, tauri-macros with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
@tauri-apps/api 2.8.0 2.9.0
tauri-utils 2.7.0 2.8.0
tauri-bundler 2.6.1 2.7.0
tauri-runtime 2.8.0 2.9.0
tauri-runtime-wry 2.8.1 2.9.0
tauri-codegen 2.4.0 2.4.1
tauri-macros 2.4.0 2.4.1
tauri-plugin 2.4.0 2.4.1
tauri-build 2.4.1 2.4.2
tauri 2.8.5 2.9.0
@tauri-apps/cli 2.8.4 2.9.0
tauri-cli 2.8.4 2.9.0

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

#[cfg(not(target_os = "macos"))]
&PredefinedMenuItem::about(app_handle, None, Some(about_metadata))?,
],
&[&PredefinedMenuItem::about(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On macOS the About stuff is already in the first menu item (the one with the appname as label)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't change anything there. I assume it's there kinda just to have something in there (looks weird otherwise)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh nvm I'm stupid, I did change it. Well yeah, I think it's best to have something there

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Electron's default menubar has Electron's own links in there, that's an option

image

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i agree that it looks weird without anything (at least as far as i can remember, didn't see check for ages)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It actually doesn't look that weird on macos 26 anymore with all that added padding. Can we perhaps still revert this part? I'm completely on board with the hotfix of the actual issue so i'd like to get it in asap but i think what we put into the help menu needs a bit more thinking since right now it's only added for visuals.

Electron's default menubar has Electron's own links in there, that's an option

Actually not a fan of that at all since it basically forces everyone to create their own menu even if they want just the default (cause they actually don't want a menu at all in the context of windows/linux)

// {
// let resources_table = webview.resources_table();
// let submenu = resources_table.get::<Submenu<R>>(rid)?;
// submenu.set_as_help_menu_for_nsapp()?;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we're also calling it incorrectly here:

submenu.set_as_help_menu_for_nsapp()?;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📬Proposal
Development

Successfully merging this pull request may close these issues.

[bug] Window and Help menu are not working on MacOS
3 participants