Bug 468718 - [KFilePlacesView] Loading and saving state is hardcoded
Summary: [KFilePlacesView] Loading and saving state is hardcoded
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Places (show other bugs)
Version: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-20 13:26 UTC by popov895
Modified: 2023-04-20 13:26 UTC (History)
3 users (show)

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


Attachments

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