| Summary: | [regression] KConfigGroup requires sync() to write to config file | ||
|---|---|---|---|
| Product: | [Unmaintained] kdelibs | Reporter: | Marc Mutz <mutz> |
| Component: | kdecore | Assignee: | kdelibs bugs <kdelibs-bugs-null> |
| Status: | RESOLVED NOT A BUG | ||
| 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: | |||
Might this be caused by kded4 not running? this is typically caused by the global config being held open due to a stray KComponentData instance. i'll close it per comment #2. feel free to reopen if you can disprove the theory. :-) |
Version: (using Devel) Installed from: Compiled sources This code (from kdepim/kleopatra/commands/selftestcommand.cpp) worked in 4.0-branch (I'm pretty sure of it, the bug it causes is pretty obvious) { KConfigGroup config( KGlobal::config(), "Self-Test" ); config.writeEntry( "run-at-startup", on ); } but requires a config.sync(); in trunk.