| Summary: | Plasma doesn't remember desktop icons setting between restarts | ||
|---|---|---|---|
| Product: | [Unmaintained] plasma4 | Reporter: | Alex Merry <alex.merry> |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
SVN commit 760003 by aseigo: make globalConfig() work properly even for containments BUG:155454 M +20 -5 applet.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=760003 |
Version: SVN r759781 (using KDE Devel) Installed from: Compiled sources OS: Linux When I deselect the option "Show Desktop Icons" in the "Configure Desktop" dialog, the icons disappear as expected. After restarting plasma (either logout and login, or kquitapp plasma; plasma) they are back, and the option is selected again. After changing the setting, then running kquitapp plasma, neither plasmarc nor plasma-appletrc have a "DesktopIcons" group or a "showIcons" key. I put this: kDebug() << "Writing showIcons=" << (m_showIcons->checkState() == Qt::Checked ? true : false) << "to config group" << iconConfig.name() << "in config file" << iconConfig.config()->name(); At the end of BackgroundDialog::saveConfig(), and I get this line: plasma(11484) BackgroundDialog::saveConfig: Writing showIcons= false to config group "DesktopIcons" in config file "plasmarc" Placing iconConfig().config()->sync() at the end of BackgroundDialog::saveConfig() fixes the problem (the setting is saved and plasmarc gets a [AppletGlobals][plasma_containment_desktop][DesktopIcons] group with the correct keys), but this shouldn't be necessary, surely?