[Bug 199306] New: KDirOperator::readConfig does not restore settings
Dominik Haumann
dhdev at gmx.de
Tue Jul 7 16:15:11 BST 2009
https://bugs.kde.org/show_bug.cgi?id=199306
Summary: KDirOperator::readConfig does not restore settings
Product: kde
Version: 4.2.4
Platform: Unlisted Binaries
OS/Version: Linux
Status: NEW
Severity: normal
Priority: NOR
Component: general
AssignedTo: unassigned-bugs at kde.org
ReportedBy: dhdev at gmx.de
Version: (using KDE 4.2.4)
OS: Linux
Installed from: Unspecified Linux
Some applications use a KDirOperator (Amarok, KDevelop, Kate) and want to
restore settings after application restart or session management. To do this,
KDirOperator provides the functions readConfig() and writeConfig().
writeConfig() correctly saves the content to the given KConfigGroup, but
readConfig() simply does not restore the settings (view mode (icons, detailed,
...), show hidden files, ...?).
Amarok fixes this by manually reading the config values and applying the
settings via the KDirOperator api again, see:
http://websvn.kde.org/trunk/extragear/multimedia/amarok/src/browsers/filebrowser/FileBrowser.cpp?r1=905136&r2=905135&pathrev=905136
Either there is a bug in readConfig(), or it's a misunderstanding or misuse
atm...
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list