Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Tauri crashes when clicking on menu item that belongs to replaced system tray menu #173

Open
jorge-menjivar opened this issue Mar 26, 2024 · 3 comments

Comments

@jorge-menjivar
Copy link

To Reproduce

Tested on macOS 14.3.1. Open the system tray menu and keep it open while the system menu gets updated in the background just as shown in #129. Click on the menu item of the still open menu. App will crash.

Trace

thread main panicked at.txt

Repo to Reproduce

https://github.com/jorge-menjivar/tauri-tray-bug

@jorge-menjivar jorge-menjivar changed the title Tauri crashes when clicking on menu item that belongs to replaced system tray menu [bug] Tauri crashes when clicking on menu item that belongs to replaced system tray menu Mar 26, 2024
@amrbashir
Copy link
Member

cc @pewsheen

@pewsheen
Copy link
Contributor

I'll tend to close the menu when we drop it, but it will look a little weird.

@amrbashir
Copy link
Member

I guess we should close it to avoid crashes, it will look weird because it is not recommended to recreate the whole menu and instead update its items.

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

No branches or pull requests

3 participants