Bug 478939 - Clock applet should not save enabled plugins with full path
Summary: Clock applet should not save enabled plugins with full path
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock widget (other bugs)
Version First Reported In: 5.27.10
Platform: Other Linux
: NOR task
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-23 14:18 UTC by Nicolas Fella
Modified: 2024-01-11 17:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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