Bug 483083

Summary: Task manager icons and desktop wallpaper are not saved on reboot
Product: [Plasma] plasmashell Reporter: Palmer <loganpalmer0822>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: dashonwwIII, kde, mpagano, nate
Priority: NOR Keywords: qt6
Version: 6.0.1   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Palmer 2024-03-10 07:55:18 UTC
SUMMARY
When I reboot my settings aren't saved. My desktop returns to default, my applications on the task manager are reset to default, and it's really irritating. I tried checking journalctl for a solution and this is what it showed at the end of me shutting down the last session:

Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_iconDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_icon"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_useCustomIconDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_useCustomIcon"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_ItemsGeometriesDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_ItemsGeometries"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_ToolBoxButtonStateDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_ToolBoxButtonState"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_ToolBoxButtonXDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_ToolBoxButtonX"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_ToolBoxButtonYDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_ToolBoxButtonY"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_FirstStartupDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_FirstStartup"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_positionsDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_positions"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_urlDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_url"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_labelModeDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_labelMode"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_labelTextDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_labelText"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_arrangementDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_arrangement"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_alignmentDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_alignment"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_lockedDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_locked"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_sortModeDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_sortMode"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_sortDescDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_sortDesc"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_sortDirsFirstDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_sortDirsFirst"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_toolTipsDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_toolTips"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_selectionMarkersDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_selectionMarkers"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_renameInlineDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_renameInline"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_popupsDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_popups"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_previewsDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_previews"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_previewPluginsDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_previewPlugins"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_viewModeDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_viewMode"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_iconSizeDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_iconSize"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_labelWidthDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_labelWidth"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_textLinesDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_textLines"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_textColorDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_textColor"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_filterPatternDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_filterPattern"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_filterModeDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_filterMode"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_filterMimeTypesDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_filterMimeTypes"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_showHiddenFilesDefault"
Mar 09 23:25:06 Archlinux plasmashell[725]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:62: Error: Cannot assign to non-existent property "cfg_showHiddenFiles"

And there's even more after that. I'm not sure what to do, but this has never happened to me on version 5.


STEPS TO REPRODUCE
1.  Start session.
2.  Move task manager icons around, add new ones
3.  Reboot

OBSERVED RESULT
Task manager icons as well as desktop background are returned to their original placements.

EXPECTED RESULT
Task manager icons as well as desktop background are saved normally.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
On X11
Comment 1 Dashon 2024-03-10 12:38:54 UTC
The wallpaper is remembered for me, but task manager icons are not.
Comment 2 Bug Janitor Service 2024-03-14 15:41:40 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/libplasma/-/merge_requests/1079
Comment 3 Bug Janitor Service 2024-03-14 15:43:24 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2124
Comment 4 Bug Janitor Service 2024-04-16 09:01:16 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/libplasma/-/merge_requests/1100
Comment 5 David Edmundson 2024-04-17 11:32:58 UTC
Git commit c37a224bc7a33c6bd5ba7c546fec74880ad463b4 by David Edmundson.
Committed on 17/04/2024 at 11:31.
Pushed by davidedmundson into branch 'master'.

Sync config to disk when values change

When client code calls Plasmoid.confiuration.a = b the value in the
KConfigPropertyMap changes, but the underlying KConfigSkeleton does not
have any signals emitted until that value is flushed.

We need to connect it to the existing mechanism to sync changes after a
timeout.
Related: bug 481085, bug 482469, bug 482090, bug 481113, bug 482773

M  +1    -0    src/plasma/applet.cpp

https://invent.kde.org/plasma/libplasma/-/commit/c37a224bc7a33c6bd5ba7c546fec74880ad463b4
Comment 6 David Edmundson 2024-04-17 11:36:02 UTC
Git commit f7b3e98bd5c777a8c7510ec0edaaba6412cac474 by David Edmundson.
Committed on 17/04/2024 at 11:33.
Pushed by davidedmundson into branch 'Plasma/6.0'.

Sync config to disk when values change

When client code calls Plasmoid.confiuration.a = b the value in the
KConfigPropertyMap changes, but the underlying KConfigSkeleton does not
have any signals emitted until that value is flushed.

We need to connect it to the existing mechanism to sync changes after a
timeout.
Related: bug 481085, bug 482469, bug 482090, bug 481113, bug 482773


(cherry picked from commit c37a224bc7a33c6bd5ba7c546fec74880ad463b4)

M  +1    -0    src/plasma/applet.cpp

https://invent.kde.org/plasma/libplasma/-/commit/f7b3e98bd5c777a8c7510ec0edaaba6412cac474