[Feature Request] Create onhidden event handler for integration with windows native notifications #142
Labels
addition/proposal
New features or enhancements
needs implementer interest
Moving the issue forward requires implementers to express interest
With windows native notifications, it becomes confusing for the average user to understand the difference between "hidden in action center" and "actually closed". I use in my Chrome Extension the onClosed listener to do something. This appears now for Windows users like a bug when they click the arrow that hides the notification in the action center (instead of clicking the "close" button), since they would expect the same behavior as on an actual CLOSE.
Therefor it would be very useful if we get a onHidden listener. Or an option to disable hiding in action center in the first place.
I have stumbled across this problem while developing a chrome extension. Currently I am using Chrome's chrome.notifications API. And since they have started to use native notifications under windows now, I was missing a onHidden event handler in their own API their. I have opened an issue on chromium.org for that: https://bugs.chromium.org/p/chromium/issues/detail?id=915464#c1. Another user pointed out that Chrome is planning to deprecate their own chrome.notification API in the future since web notifications is available. At the same time for web notifications a onhidden event listener does not exist either.
The text was updated successfully, but these errors were encountered: