Bug 478939

Summary: Clock applet should not save enabled plugins with full path
Product: [Plasma] plasmashell Reporter: Nicolas Fella <nicolas.fella>
Component: Digital Clock widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: task CC: nate
Priority: NOR    
Version First Reported In: 5.27.10   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Nicolas Fella 2023-12-23 14:18:08 UTC
The clock applet saves the enabled plugins in the appletsrc like

enabledCalendarPlugins=/home/nico/kde6/usr/lib64/plugins/plasmacalendarplugins/alternatecalendar.so,/home/nico/kde6/usr/lib64/plugins/plasmacalendarplugins/astronomicalevents.so,/home/nico/kde6/usr/lib64/plugins/plasmacalendarplugins/holidaysevents.so,/home/nico/kde6/usr/lib64/plugins/plasmacalendarplugins/pimevents.so

Using the full path is not idea for various reasons. It makes the config less portable and causes problems with dev sessions and migrating to Qt6

It should only store the plugin id like we do in other places where we save plugin states

SOFTWARE/OS VERSIONS
KDE Plasma Version: master
KDE Frameworks Version: master
Qt Version: 6.6.1