You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tray in macOS behaves inconsistently. It appears and disappears unpredictably under these circumstances:
When I run or build the app, the tray sometimes disappears.
Changing the title in the setup causes the tray to vanish, but also not always.
Restarting macOS temporarily resolves the issue, but after a few app restarts or recompiles, the tray disappears again.
Additional observations:
Occasionally, the tray reappears if I wait while the app is still running.
No errors or panics are logged during these events.
Reproduction
#[tauri::command]fnchange_tray_title(app_handle:AppHandle,title:String){println!("title from frontend: {}", title);let tray_handle = app_handle.tray_by_id("tray").unwrap();ifletErr(e) = tray_handle.set_title(Some(&title)){eprintln!("failed to set title: {}", e);}else{println!("title set successfully to '{}'", title);}}
Describe the bug
The tray in macOS behaves inconsistently. It appears and disappears unpredictably under these circumstances:
Additional observations:
Reproduction
Expected behavior
tray should not vanish on title or icon changes
Full
tauri info
outputStack trace
Additional context
No response
The text was updated successfully, but these errors were encountered: