Bug 468718

Summary: [KFilePlacesView] Loading and saving state is hardcoded
Product: [Frameworks and Libraries] frameworks-kio Reporter: popov895 <popov895>
Component: PlacesAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kde, kdelibs-bugs-null, popov895
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description popov895 2023-04-20 13:26:38 UTC
SUMMARY

Instances of the `KFilePlacesView` use hardcoded keys to load and store their state. If an application uses a built-in instance of the `KFilePlacesView` (for example, the sidebar in Gwenview or Dolphin), then this instance and the dialog to open/save files use the same place to store their state (the "KFileDialog Settings" key), so changing the settings of one of them also affects the other. See `KFilePlacesViewPrivate::readConfig()`and `KFilePlacesViewPrivate::writeConfig()`.

SOFTWARE/OS VERSIONS

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8