Bug 407701 - Most apps end up in "System Services" category
Summary: Most apps end up in "System Services" category
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_notify (show other bugs)
Version: 5.16.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Olivier Goffart
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-18 22:00 UTC by Ilya Bizyaev
Modified: 2019-11-14 19:27 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Notifications KCM, 5.15.90 (177.62 KB, image/png)
2019-05-18 22:00 UTC, Ilya Bizyaev
Details
Notifications KCM of Plasma 5.16.4 (113.68 KB, image/png)
2019-09-01 15:33 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Bizyaev 2019-05-18 22:00:42 UTC
Created attachment 120174 [details]
Notifications KCM, 5.15.90

SUMMARY
In the new Notifications KCM, most of the installed applications (e.g. Firefox, K3b, Kdenlive, Konsole, Konversation) are considered System Services. Only Telegram, VLC, Spectacle & KTeaTime are shown in the "Applications" category.

STEPS TO REPRODUCE
1. Open the notifications KCM, enter the program list

OBSERVED RESULT
Most apps are considered System Services

EXPECTED RESULT
Applications are recognized as such

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.15.90
KDE Frameworks Version: 5.58
Qt Version: 5.12.3
Comment 1 Nate Graham 2019-05-20 18:10:15 UTC
Apps need their notifyrc files to be changed in some way to make them show up in the Applications category. Many KDE applications already have, but those commits haven't shown up in released versions yet.

Maybe what we should do here is invert the logic such that system settings (which we have control over) need to be marked as "System Services" and everything else gets automatically counted as an app.
Comment 2 Kai Uwe Broulik 2019-05-23 08:24:02 UTC
Apps need to be adjusted to set the hint. This only affects apps using KNotifications where there isn't really a way to relate the notifyrc name to a desktop entry, hence the need for this entry.

All other apps are automatically treated as apps anyway.
I don't understand why your Firefox shows up in system services, though. Are you using Suse or plasmazilla or something?

Please attach your ~/.config/plasmanotifyrc file
Comment 3 Ilya Bizyaev 2019-05-28 13:25:57 UTC
I use Firefox from openSUSE's mozilla repository: https://build.opensuse.org/project/show/mozilla

My plasmanotifyrc has these contents:
```
[Applications][telegramdesktop]
Seen=true

[DoNotDisturb]
Until=2019,5,21,23,28,0
```

I indeed don't seem to have other non-KDE apps that are configured to send notifications, so if notifyrc files are fixed then it's ok.
Comment 4 Nate Graham 2019-05-28 14:18:54 UTC
Yep, this is effectively fixed as of the next versions of all our apps.
Comment 5 Patrick Silva 2019-09-01 15:33:50 UTC
Created attachment 122446 [details]
Notifications KCM of Plasma 5.16.4

Several KDE apps (K3b, Kdenlive, Ktorrent, Ksysguard, KAudioCreator and Digikam, for example) are still listed as system services on Arch linux running KDE apps 19.08 and Plasma 5.16.4.
Comment 6 Ilya Bizyaev 2019-09-02 00:35:02 UTC
Right; also Konversation and KReversi.
Comment 7 Kai Uwe Broulik 2019-09-02 07:11:33 UTC
Konversation is fixed but hasn't seen a release iirc.

> K3b, Kdenlive, Ktorrent, Ksysguard, KAudioCreator and Digikam, for example

Yeah, very likely I didn't fix those. Feel free to do some patches.
Comment 8 Kai Uwe Broulik 2019-09-03 05:32:48 UTC
Git commit dba6f3fdb4be4cd059237ab51a4c70f212a24b62 by Kai Uwe Broulik.
Committed on 03/09/2019 at 05:32.
Pushed by broulik into branch 'Applications/19.08'.

Add DesktopEntry to notifyrc

Differential Revision: https://phabricator.kde.org/D23659

M  +1    -0    sounds/kreversi.notifyrc

https://commits.kde.org/kreversi/dba6f3fdb4be4cd059237ab51a4c70f212a24b62
Comment 9 Nate Graham 2019-11-14 19:04:51 UTC
Git commit f9483107f7cdef004065e93a1b0b891e068d1309 by Nate Graham.
Committed on 14/11/2019 at 19:03.
Pushed by ngraham into branch 'master'.

Add DesktopEntry to notifyrc

This makes it show up as an app in the Notifications KCM

M  +1    -0    ktorrent/ktorrent.notifyrc

https://commits.kde.org/ktorrent/f9483107f7cdef004065e93a1b0b891e068d1309
Comment 10 Nate Graham 2019-11-14 19:07:53 UTC
Git commit b13b8322b0b2a7b25d4a905431a5045666dfc4f8 by Nate Graham.
Committed on 14/11/2019 at 19:07.
Pushed by ngraham into branch 'release/19.12'.

Add DesktopEntry to notifyrc

This makes it show up as an app in the Notifications KCM

M  +1    -0    data/kdenlive.notifyrc

https://invent.kde.org/kde/kdenlive/commit/b13b8322b0b2a7b25d4a905431a5045666dfc4f8
Comment 11 Nate Graham 2019-11-14 19:12:38 UTC
Git commit 76792fa39b8359cb05d059ed63998558ee0752af by Nate Graham.
Committed on 14/11/2019 at 19:12.
Pushed by ngraham into branch 'Plasma/5.17'.

Add DesktopEntry to notifyrc

This makes it show up as an app in the Notifications KCM

M  +1    -0    example/ksysguard.notifyrc

https://commits.kde.org/ksysguard/76792fa39b8359cb05d059ed63998558ee0752af
Comment 12 Nate Graham 2019-11-14 19:21:56 UTC
Git commit f21c160fcbc41a89265425ef785d0461980de3b1 by Nate Graham.
Committed on 14/11/2019 at 19:21.
Pushed by ngraham into branch 'master'.

Add DesktopEntry to notifyrc

This makes it show up as an app in the Notifications KCM

M  +1    -0    kaudiocreator.notifyrc

https://commits.kde.org/kaudiocreator/f21c160fcbc41a89265425ef785d0461980de3b1
Comment 13 Nate Graham 2019-11-14 19:26:58 UTC
Git commit b3b276b003047b82f45dada56c932b7139c4ab7e by Nate Graham.
Committed on 14/11/2019 at 19:24.
Pushed by ngraham into branch 'master'.

Add DesktopEntry to notifyrc

This makes it show up as an app in the notifications KCM

M  +1    -0    core/app/main/digikam.notifyrc

https://invent.kde.org/kde/digikam/commit/b3b276b003047b82f45dada56c932b7139c4ab7e
Comment 14 Nate Graham 2019-11-14 19:27:33 UTC
Fixed:
- KTorrent
- Kdenlive
- KSysGuard
- KaudioCreator
- Digikam

Already done:
- K3B

For any future KDE apps you find listed as System Services instead of Applications in the KCM, please file a bug on the app itself--or better yet, just fix it. As you can see from the above commits, the fix is pretty trivial.