Bug 479362 - Flatpak apps' notifications are no longer interactive
Summary: Flatpak apps' notifications are no longer interactive
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (show other bugs)
Version: 5.27.10
Platform: NixOS Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-03 17:02 UTC by Naxdy
Modified: 2024-01-22 18:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Naxdy 2024-01-03 17:02:15 UTC
SUMMARY
Since at least 5.27.10, certain Electron apps' notifications are no longer interactive. For example, usually when e.g. Discord sends a notification (due to message received), that notification popup is clickable and causes Discord to navigate to the message sent. However, this is no longer the case, and clicking the notification does nothing.

Same goes for Slack. However, Slack notifications also exhibit the behavior that the app icon has disappeared, and in its place is the regular KDE/Plasma icon.


STEPS TO REPRODUCE
1. Receive a notification from an affected Electron app (Discord, Slack, perhaps others)
2. Click the notification popup as it appears

OBSERVED RESULT
Notification popup disappears

EXPECTED RESULT
Notification popup disappears *and* the app responds to the popup having been clicked (response may vary, but is commonly navigation to the part of the app that initiated the notification)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: NixOS Unstable
(available in About System)
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
Slack and Discord stopped working at different times for me, so this *may* be a downstream issue. Though I run both in flatpak, so who knows. Would be great if someone could confirm if any work was done on the KDE side of things the past couple minor versions.
Comment 1 Naxdy 2024-01-16 11:07:26 UTC
Update: Element is also affected by this, so I'm leaning towards this being an issue that affects all Electron apps.

Since it also affects apps with older Electron versions that were working before (like Discord), I'm strongly leaning towards something on the KDE side having broken this recently.
Comment 2 Naxdy 2024-01-18 20:39:00 UTC
Another update: Seems that this is exclusive to Flatpak apps. When I install these apps' native counterpart, notifications appear to work correctly and are interactive. I do have desktop portals installed and configured correctly. I'm assuming an update of some flatpak runtime triggered this, as if I rollback my main system installation (including flatpak itself, but not the flatpaks or runtimes) to a few months back, the issue persists.
Comment 3 Naxdy 2024-01-22 18:16:16 UTC
Yeah, pretty confident to label this an issue with the flatpak versions or flatpak itself. System rollback preserves the issue, so pretty confident nothing on KDE side messed this up. Perhaps there's something KDE can do to fix this? Not sure. Either way, I just moved to the native versions of these apps to restore full functionality.