Bug 484093

Summary: Added applications doesn't persist after reboot
Product: [Applications] systemsettings Reporter: Gena <genaloner>
Component: kcm_keysAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kde
Priority: NOR    
Version First Reported In: 6.0.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Gena 2024-03-20 18:08:46 UTC
SUMMARY

If you add a `.desktop` file for a non-KDE application in global shortcuts, it doesn't persists after reboot.

STEPS TO REPRODUCE
1. Create the following desktop file:

```
[Desktop Entry]
Actions=TurnOffScreen;
Type=Application
Name=KScreen Doctor
Comment=Allows to change the screen setup
Exec=kscreen-doctor
Categories=ConsoleOnly;System;
Icon=preferences-system-power-management
StartupNotify=false

[Desktop Action TurnOffScreen]
Exec=kscreen-doctor --dpms off
Name=Turn off screen
X-KDE-Shortcuts=Power off
```

2. Add the added .desktop file to the list of global shortcuts.
3. Reboot.

OBSERVED RESULT

The added .desktop file no longer present in global shortcuts.

EXPECTED RESULT

The added .desktop file still present in global shortcuts.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: ArchLinux
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Comment 1 Gena 2024-03-31 23:34:48 UTC
Can't reproduce anymore after 6.0.3.