Description
Is your feature request related to a problem? Please describe.
Feature.
I am building an app that pops up from the tray on Windows and currently the way it works is the following:
- Clicks on tray icon toggle the window's visibility
- Clicks anywhere outside, hide the window (using
window.blur
event)
Since tray.click
fires way too late, after window.blur
, there is no way to tell a user intent. For example: a user may be clicking on the tray icon once again to hide the window.
Describe the solution you'd like
Add mouse-over and
mouse-leave
events for tray icon. This could help to figure out the cause of window.blur
event. This is not entirely true and precise but this will cover at least 99% of the cases.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.