SUMMARY When I allow a website to send a notification (check the box to remember), close the browser and restart it. The site has to ask for permission again, it will be granted aromatic, but the website shouldn't have to ask again. If you enable desktop notifications on Youtube or Reddit this setting is disabled after you restart Falkon. STEPS TO REPRODUCE 1. go to https://www.bennish.net/web-notifications.html 2. click Authorize 3. select Remember 4. click Allow 5. restart Falkon 6. go to https://www.bennish.net/web-notifications.html 7. click the "Show"-button OBSERVED RESULT After restarting Falkon. Notifications will not show until I click on Authorize again. EXPECTED RESULT After restarting Falkon. Notifications should show when pressing the "Show"-button SOFTWARE/OS VERSIONS Linux/KDE Plasma: arch linux (available in About System) KDE Plasma Version: 5.17.90 KDE Frameworks Version: 5.66.0 Qt Version: 5.14.1 Falkon: 3.1.0 and latest master
Permission is stored. The "problem" you are facing is that it was not given to the site when it was loaded and the site needs to ask for it (which if you checked "Remember" will be done automatically). I believe most of the websites at first always ask for permission before filing notification, that is normal practice because you do not know what browser user use or if the notifications are allowed.
Did you even read what I wrote? Try "STEPS TO REPRODUCE" in different browsers and you will see that this behavior is Falkon exclusive. Don't tell me that "If you enable desktop notifications on Youtube or Reddit this setting is disabled after you restart Falkon." is normal practice... And to add something. I haven't got a single notification from youtube or reddit yet. I guess there's another problem. (in about a week without restarting Falkon, after allow notifications)
I said where the "problem" is. Which is not actually a problem because site should always request permission from browser before firing notifications. If I go to site with test notifications like this: https://web-push-book.gauntface.com/demos/notification-examples/ It works as it should (website asks for permission and it is granted or rejected based on saved settings). Patches are welcome.
OK, I went over it again and I do not see this as a fault of the Falkon but a fault of test method. From what I understand the website needs to always ask for permission (authorization) before it can display the notifications. This is done by the "Authorize" button on the mentioned site. When Falkon is instructed to remember the user choice to eg. "Allow" the notifications, Falkon remembers it and on the next "Authorize" it will grant the permission without user asking.