[plasmashell] [Bug 408866] Some apps cannot be configured in notification settings

2019-06-18 Thread Kai Uwe Broulik
https://bugs.kde.org/show_bug.cgi?id=408866

--- Comment #7 from Kai Uwe Broulik  ---
dropbox doesn't actually send a desktop-entry hint, so there's no way for us to
tell what application it is.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 408866] Some apps cannot be configured in notification settings

2019-06-18 Thread Alex Barrero
https://bugs.kde.org/show_bug.cgi?id=408866

--- Comment #6 from Alex Barrero  ---
Created attachment 120978
  --> https://bugs.kde.org/attachment.cgi?id=120978=edit
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

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 408866] Some apps cannot be configured in notification settings

2019-06-18 Thread Kai Uwe Broulik
https://bugs.kde.org/show_bug.cgi?id=408866

--- Comment #5 from Kai Uwe Broulik  ---
I also made a similar patch for Snaps: https://phabricator.kde.org/D21881

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 408866] Some apps cannot be configured in notification settings

2019-06-18 Thread Kai Uwe Broulik
https://bugs.kde.org/show_bug.cgi?id=408866

Kai Uwe Broulik  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED

--- Comment #4 from Kai Uwe Broulik  ---
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)

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 408866] Some apps cannot be configured in notification settings

2019-06-18 Thread Alex Barrero
https://bugs.kde.org/show_bug.cgi?id=408866

--- Comment #3 from Alex Barrero  ---
I will try to add later another log file with the notification of the Dropbox
app.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 408866] Some apps cannot be configured in notification settings

2019-06-18 Thread Alex Barrero
https://bugs.kde.org/show_bug.cgi?id=408866

--- Comment #2 from Alex Barrero  ---
Created attachment 120973
  --> https://bugs.kde.org/attachment.cgi?id=120973=edit
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

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 408866] Some apps cannot be configured in notification settings

2019-06-18 Thread Kai Uwe Broulik
https://bugs.kde.org/show_bug.cgi?id=408866

--- Comment #1 from Kai Uwe Broulik  ---
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

-- 
You are receiving this mail because:
You are watching all bug changes.