https://bugs.kde.org/show_bug.cgi?id=481247
Bug ID: 481247 Summary: Popup hide setting does not honour browsers' `requireInteraction: true` property on desktop notifications Classification: Plasma Product: plasmashell Version: 5.27.10 Platform: openSUSE OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Notifications Assignee: plasma-b...@kde.org Reporter: pallasw...@proton.me CC: k...@privat.broulik.de Target Milestone: 1.0 SUMMARY Popup hide setting does not honour browsers' `requireInteraction: true` property on desktop notifications. Additionally, if the web app intends to close the notification by itself, after a timeframe longer than KDE plasma's 'hide after' setting, It is not given such an opportunity. I imagine the second issue cannot be resolved - as it not known whether the app intends to do so, Plasma would have to leave the notification open indefinitely, in order to give the app the chance to close it, so... That is not something I expect could be resolved (although, maybe it could be, and if you're very clever, please feel free! :) Perhaps by using the browser integration, the javascript could be parsed for a call to close() on the notification object? Seems very difficult.) The first issue however, should be resolvable, since it is known at the time of creation of the notification that it is intended to stay there until interaction occurs. STEPS TO REPRODUCE 1. Use this site to demonstrate: https://googlechrome.github.io/samples/notifications/requireInteraction.html 2. Click the "show notifications" button. 3. Observe two desktop notifications, one which should automatically disappear within Plasma's set timeframe, one which should remain visible until it is cleared by the user. OBSERVED RESULT See both notifications be hidden, without interaction EXPECTED RESULT One should be hidden after the set timeout, the other should require user interaction to hide. SOFTWARE/OS VERSIONS Linux/KDE Plasma: OpenSUSE Tumbleweed KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.114.0 Qt Version: 5.15.12 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.