SUMMARY I have noticed that many notifications that can be clicked on GNOME don't do anything if you click them on Plasma. That included notification from Nextcloud, Flare etc. STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT Nothing happens EXPECTED RESULT The click should do whatever the notification is supposed to do (mostly raising windows) SOFTWARE/OS VERSIONS KDE Plasma Version: 6.4.4 KDE Frameworks Version: 6.17.0 Qt Version: 6.9.1 ADDITIONAL INFORMATION I think a workaround could be to raise the app that did send the notification. But that is not always what the user wants. Maybe this could be done, if no action is set.
Thanks for the feature request. This is something that's been wanted for quite some time, and has an open request in bug 405639. Please follow that report for updates. *** This bug has been marked as a duplicate of bug 405639 ***
I don't think that is a dublicate. I was talking about notifications that are designed to do something e.g. Flare opens the specific chat. Bug 405639 is about notifications with no action set. Or have I misunderstood something?
If I understand correctly, you're saying the notifications you're referring to have an action, e.g. Nextcloud? If so, there are two different things being talked about. 1. If a notification *does* have an action set that's supposed to work, but isn't working - that would be a new bug. 2. You did say "Maybe this could be done, if no action is set." which is what bug 405639 is about - do something when a notification has no action set. So let's focus on #1, the bug. Have these apps (Nextcloud and Flare) allowed you to click on the notifications in the past? Can you give an example or a screenshot of the notification type that isn't doing anything when you click on it? What did clicking on them do in the past?
.
I'm not sure with Nextcloud, but yes the notifications of Flare have an action. Unfortunately they did never work on my system and I only know that this works on GNOME (Phosh) from this issue (https://gitlab.com/schmiddi-on-mobile/flare/-/issues/266#note_2596573176). Furthermore I can'tmake a screenshot since I never know when a notification will appear. But they are typical notifications without buttons.
๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
Thanks, so let's focus on Nextcloud and Flare (the Signal messenger client) for now. Nextcloud is a good example of an app that doesn't support per-event notifications On my system, enabling pop-up notifications for Nextcloud, I only see the notification for an server application update, if I recall correctly, most other notifications come from the client. It seems like the actionable thing would be: - If an app doesn't expose any actions to notifications then open its main window Unfortunately, if the application doesn't expose any other actions, this is what we would be limited to, from my understanding.
But Firefox doesn't support per-event notifications too, but it can react to clicks with tab switching. For example if you send the url of a webpage from Firefox-mobile too your desktop, you get a notification that a url has been received and clicking on that causes Firefox to switch to that tab. So why shouldn't that be possible for other apps, especially if they can do that on GNOME?
I set the Status field back to what it had been (CONFIRMED). Please don't change this. See the field descriptions here for an explanation https://bugs.kde.org/page.cgi?id=fields.html (In reply to jonas.harer from comment #8) > But Firefox doesn't support per-event notifications too, but it can react > to clicks with tab switching. This is true. Firefox, then, is providing ways to respond to notifications that KDE Plasma takes advantage of. > So why shouldn't that be possible for other apps, especially if they can do > that on GNOME? As I said, we can take action on this, which is why it was set to CONFIRMED. The developers will have to take a look at this point.
Are these notifications by any chance all sent by Flatpak apps? If so, there might be a case of the behavior differing for notifications sent using the original FreeDesktop notification protocol vs the portal notification protocol.
I have tried to install Flare using Distrobox (Alpine), but there was no difference.
I don't know if this is the same issue or not, but the notification click action doesn't work for me, more details: https://bugs.kde.org/show_bug.cgi?id=511569
(In reply to SaeedDev94 from comment #12) > I don't know if this is the same issue or not, but the notification click > action doesn't work for me, more details: > https://bugs.kde.org/show_bug.cgi?id=511569 That is a different bug. That bug is about the notification applet not showing notifications on a click. This bug is about notification pop ups not doing anything when they are clicked, as they do in GNOME.