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

[Feature Request] Create onhidden event handler for integration with windows native notifications #142

Open
hannaseithe opened this issue Dec 16, 2018 · 1 comment
Labels
addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest

Comments

@hannaseithe
Copy link

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.

@annevk annevk added addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest labels Jan 2, 2019
@annevk
Copy link
Member

annevk commented Jan 2, 2019

Welcome, it might be worth reading https://whatwg.org/faq#adding-new-features and https://whatwg.org/working-mode. For this particular feature we mainly need browsers on board. Unfortunately other than by Chrome not much investment has happened into this API recently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest
Development

No branches or pull requests

2 participants