Bug 457673

Summary: When I click on a shortcut to KCM added to desktop, an error message appears and the .desktop file opens with Kate
Product: [Frameworks and Libraries] frameworks-kcmutils Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kde, nate
Priority: VHI Keywords: regression
Version First Reported In: 5.96.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screen recording

Description Patrick Silva 2022-08-09 12:03:21 UTC
Created attachment 151189 [details]
screen recording

SUMMARY
Not all KCMs are affected.

STEPS TO REPRODUCE
1. search for 'touchpad' with kickoff
2. right-click on 'Touchpad' search result and choose 'Add to desktop'
3. try to open Touchpad KCM via shortcut added to desktop

OBSERVED RESULT
an error message appears and the .desktop file opens with Kate.
Please watch the attached screen recording.

EXPECTED RESULT
the KCM opens

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.25.80
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Graphics Platform: Wayland
Comment 1 Bug Janitor Service 2022-08-09 13:16:08 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kcmutils/-/merge_requests/96
Comment 2 Nicolas Fella 2022-08-09 16:50:03 UTC
Git commit 03596a9677116ded39aeac164029822edb500822 by Nicolas Fella.
Committed on 09/08/2022 at 13:15.
Pushed by alex into branch 'master'.

Set Type=Application for generated KCM desktop file

Otherwise it can't be launched

M  +1    -0    tools/kcmmetadatagenerator.cpp

https://invent.kde.org/frameworks/kcmutils/commit/03596a9677116ded39aeac164029822edb500822