Bug 434874

Summary: System Settings ignores Actions in .desktop file
Product: [Applications] systemsettings Reporter: Sadi <sadiyumusak>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: kde, nate
Priority: NOR    
Version First Reported In: 5.21.3   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.23
Sentry Crash Report:
Attachments: screenshot of my latest system settings context menu

Description Sadi 2021-03-24 11:07:09 UTC
Created attachment 137019 [details]
screenshot of my latest system settings context menu

SUMMARY
System Settings only displays several recently/frequently used Settings, ignoring any Actions in its .desktop file, including the default ones that come with the package.

STEPS TO REPRODUCE
1. Copy "/usr/share/applications/systemsettings.desktop" to "~/.local/share/applications/"
 and add one or two Aactionsdd System Settings to panel or latte-dock
2. Open "~/.local/share/applications/systemsettings.desktop" and go to line: "Actions=kcm-lookandfeel;kcm-users;screenlocker;powerdevilprofilesconfig;kcm-kscreen;"
3. Add "SoftwareCenter;"
4. Append the following lines to the end of the file:
[Desktop Action SoftwareCenter]
Name=Software Center
Icon=plasmadiscover
Exec=plasma-discover
5. After saving, drag and drop the file "~/.local/share/applications/systemsettings.desktop" onto your panel or latte-dock.
6. Right click to display the context menu.

OBSERVED RESULT
The context menu only shows some recently/frequently used Settings (generated automatically), ignoring those in its .desktop file, including the default ones that come with the package.

EXPECTED RESULT
The context menu should show all Actions properly included in the .desktop file as well as any other items generated automatically, like other apps.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.21
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Sadi 2021-03-24 11:12:10 UTC
Sorry for the typo:
in item 1 of "Steps to reproduce")
please replace
"Aactionsdd System Settings to panel or latte-dock"
with
"Actions."
Comment 2 Sadi 2021-04-21 09:02:27 UTC
Unfortunately, the same applies to "firefox.desktop" as well.
This means I have two application launcher icons on my dock/panel which cannot include actions (other apps) from related categories such as System and Internet, which is very handy. ;-)
Comment 3 Nate Graham 2021-10-29 14:25:50 UTC
This was fixed in Plasma 5.23.