Bug 386880 - Plasma doesn't automatically detect system tray widgets
Summary: Plasma doesn't automatically detect system tray widgets
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray (show other bugs)
Version: 5.11.3
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-13 22:18 UTC by Mircea Kitsune
Modified: 2020-02-14 04:33 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mircea Kitsune 2017-11-13 22:18:33 UTC
Plasma does not automatically detect whether widgets with system tray entries are added or removed, for the purpose of making them available in the tray. This leads to situations where, even if a plasmoid has X-Plasma-NotificationArea=true in its metadata.desktop file, the feature doesn't work because the file ~/.local/share/plasma/plasmoids/kpluginindex.json is outdated. To get the widget listed under General - Extra Items in the system tray settings, you must manually run the following command after installing your widget:

kpackagetool5 --generate-index -t Plasma/Applet
Comment 1 Nate Graham 2018-05-26 23:07:05 UTC
Can you provide an example, or Steps to Reproduce? See https://community.kde.org/Get_Involved/Bug_Reporting#Steps_to_Reproduce
Comment 2 Mircea Kitsune 2018-05-27 00:19:26 UTC
(In reply to Nate Graham from comment #1)

I have in my first comment: Just install a new widget with a system tray icon, restart plasmashell or the whole machine, and you should notice that its icon won't appear as an option in the settings panel of the system tray until running the command mentioned.
Comment 3 Nate Graham 2018-05-29 03:39:20 UTC
Thanks, can confirm.
Comment 4 Kai Uwe Broulik 2018-05-29 10:49:56 UTC
Did you manually install the applet or how did you do it? Kpackagetool5 should do it at least when installing?
Comment 5 Mircea Kitsune 2018-05-29 11:58:09 UTC
(In reply to Kai Uwe Broulik from comment #4)

It's possible that I may have manually unpacked some of them inside ~/.local/share/plasma/plasmoids/ rather than using the KDE store installer. I don't remember for sure if that was the case, and for the widget I noticed this with I do believe I installed it from the store long ago.
Comment 6 Nate Graham 2020-01-15 20:30:08 UTC
Cannot reproduce anymore in Plasma 5.18 when using kpackagetool or downloading widgets from store.kde.oreg using GHNS. Can you? The beta is released tomorrow; you can check with that.
Comment 7 Bug Janitor Service 2020-01-30 04:33:14 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2020-02-14 04:33:11 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!