Closed qwfy closed 1 year ago
This is expected, the library we use on Linux (libappindicator) doesn't support click events but it's also mentioned in the event variants (not quite obvious i know): https://docs.rs/tauri/latest/tauri/enum.SystemTrayEvent.html#variant.LeftClick
Describe the bug
When I left/right/double click the tray icon, I expect the corresponding branch in the handler registered with
on_system_tray_event
to be called, but it doesn't, instead, the tray's menu pops up, when I click on any menu item, theMenuItemClick
branch is called.Reproduction
Setup:
incase the doc changes:
Expected behavior
See description.
Platform and versions
Additional context
No response