Bug 461752

Summary: applications start with keyboard shortcut doesn't have correct systemd scope name
Product: [Frameworks and Libraries] frameworks-kglobalaccel Reporter: mnonw742710
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nicolas.fella
Priority: NOR    
Version First Reported In: 5.92.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot of plasma system monitor

Description mnonw742710 2022-11-13 06:20:51 UTC
Created attachment 153705 [details]
screenshot of plasma system monitor

SUMMARY
Applications start with keyboard shortcut defined in  .desktop file using X-KDE-Shortcuts doesn't have correct systemd scope name

STEPS TO REPRODUCE
1. Open any applications that have X-KDE-Shortcuts in .desktop using defined shortcut
2. Open the same application using application launcher or desktop icon
3. Open Plasma System Monitor

OBSERVED RESULT
Application opened with keyboard shortcut use process name instead of user-friendly application name and doesn't have correct icon but application opened  with desktop icon/application launcher doesn't have the former behavior

EXPECTED RESULT
Both application behave the same as the one that are opened with desktop icon/application launcher

SOFTWARE/OS VERSION:
Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.6
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3