| Summary: | Some apps cannot be configured in notification settings | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Alex Barrero <alex.brrsclnt> |
| Component: | Notifications | Assignee: | Kai Uwe Broulik <kde> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | master | ||
| Target Milestone: | 1.0 | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Slack (flatpak) notification log
Dropbox notification log |
||
|
Description
Alex Barrero
2019-06-18 09:28:54 UTC
Please run dbus-monitor interface=org.freedesktop.Notifications > ~/somefile.txt and then spawn a notification and attach the file here. (You might want to remove some private information that could be in there) Please also provide the name of the name of the desktop file and its contents for the app in question. Likely in /var/lib/snapd/desktop/applications/ or /var/lib/flatpak/exports/share/applications/ I did a fix for Flatpak [1] apps that might help here. It also requires a Frameworks change that hasn't been merged yet. For Snap we could potentially read the BAMF_DESKTOP_FILE_HINT from the app's environment but that stopped working for Spotify recently with which I tested this. [1] https://cgit.kde.org/plasma-workspace.git/commit/?id=9258ef586324a74d5333faa1429f6a2a80cafadc Created attachment 120973 [details]
Slack (flatpak) notification log
alex@laptop:~
└─ $ ls -lh /var/lib/flatpak/exports/share/applications/
lrwxrwxrwx 1 root root 93 jun 5 07:26 com.slack.Slack.desktop -> ../../../app/com.slack.Slack/current/active/export/share/applications/com.slack.Slack.desktop
File content:
[Desktop Entry]
Name=Slack
Comment=Slack Desktop
GenericName=Slack Client for Linux
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=slack --file-forwarding com.slack.Slack @@u %U @@
Icon=com.slack.Slack
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Network;InstantMessaging;
MimeType=x-scheme-handler/slack;
X-Desktop-File-Install-Version=0.23
StartupWMClass=Slack
X-Flatpak-RenamedFrom=slack.desktop;
X-Flatpak=com.slack.Slack
I will try to add later another log file with the notification of the Dropbox app. Thanks for your help! It sends "Slack" as desktop-entry but the desktop entry is com.slack.Slack.desktop. However it also contains X-Flatpak-RenamedFrom=slack.desktop; which I now take into account. Considering this fixed with Plasma 5.16.1 (released today) and KDE Frameworks 5.60 (to be released in July) I also made a similar patch for Snaps: https://phabricator.kde.org/D21881 Created attachment 120978 [details]
Dropbox notification log
/usr/share/applications/dropbox.desktop
File content:
[Desktop Entry]
Name=Dropbox
GenericName=File Synchronizer
Comment=Sync your files across computers and to the web
Exec=dropbox start -i
Terminal=false
Type=Application
Icon=dropbox
Categories=Network;FileTransfer;
StartupNotify=false
dropbox doesn't actually send a desktop-entry hint, so there's no way for us to tell what application it is. |