Many people back up config files using git repositories or other such systems. Unnecessary changes to these files, such as recent documents and window size, can make this inconvenient. This data should be removed from config files and stored in a state data file instead. For example using KSharedConfig::openStateConfig
Description
Description
Details
Details
- Differential Revisions
- D26440: Add KSharedConfig::openStateConfig for storing state information
Related Objects
Related Objects
- Mentioned In
- T12533: Make kconf_update more robust
- Mentioned Here
- D26440: Add KSharedConfig::openStateConfig for storing state information
Comment Actions
Related bugs:
- https://bugs.kde.org/show_bug.cgi?id=397602 Configuration files should contain only persistent configuration and not state
- https://bugs.kde.org/show_bug.cgi?id=240862 KDE System Settings - Backup & Restore
Comment Actions
Solved for KRunner:
https://invent.kde.org/frameworks/krunner/-/commit/1d21e8c49a5d8a7424a18b949a849b8c77ad3d9f
https://invent.kde.org/plasma/plasma-workspace/-/commit/92285a7bbc800458f9729fc96aff19136a638b2e
Filelight:
https://invent.kde.org/utilities/filelight/-/commit/7b83cb9cb733ae0de4f5c1cbafed183a5075441f
Comment Actions
FWIW, state includes toolbars and dockwidgets location/orientation, that is part of an app configuration.
Comment Actions
related bug report: https://bugs.kde.org/show_bug.cgi?id=441575 konversation should separate state config from settings config