Remove settings button from native notifications on Linux

Hi, I hope this is the right issue tracker for issues regarding nwjs’ chromium.src repo…

In #4560, you said you wanted to wait for Chromium to implement native notifications on all platforms instead of re-adding the functionality back to 0.13. Chromium has now finally implemented native notifications on Linux after doing so on macOS a few months ago:

Now to the issue:
Native notifications created by Chromium on both macOS and Linux always include a “Settings” action button. In NWjs, clicking this settings button opens a new window with a blank site. This behavior can’t be changed or disabled, because it is hardcoded and it is super annoying. Especially since notifications with and without actions can be displayed completely differently on the system. And having such a settings button is confusing for the end user.

On macOS, you’ve already disabled the behavior in NWjs 0.25:

On Linux, this is still enabled and needs a fix:

Thanks for your consideration!

Author: Fantashit

1 thought on “Remove settings button from native notifications on Linux

Comments are closed.