Summary: | [testcase] KDE config files content is deleted when applications are launched while the home directory is full | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Christophe Marin <christophe> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | grave | CC: | djdarkmanx, finex, mail, phobosk |
Priority: | VHI | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Christophe Marin
2008-04-18 16:36:29 UTC
Changed severity to "GRAVE". I can confirm this. KConfig needs to check first whether there is space left on the volume - if not, don't do anything, just leave the files in their previous state and if possible, raise a warning. *** Bug 164375 has been marked as a duplicate of this bug. *** Raising priority to VHI. This issue needs some attention before 4.1 comes out. Otherwise, change it back to normal. It should be fixed, togheter with the "free space" login issue. I would recommend: - checking of disk space - try to write to a temporary file (in the same directory) - if successfull then swap the two files - if not successfull warn the user of the problem more specificly ("can`t save this or that" doesn`t tell the problem) and I would recommend to offer a possibility to save/export this data to a user specified location so that the user doesn`t loose it`s data like did. SVN commit 825453 by lunakl: Check whether closing the file was actually successful, otherwise this code happily overwrites original files with empty ones. Also remove the right (temporary) file on failures. BUG: 160980 M +6 -3 ksavefile.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=825453 *** Bug 181557 has been marked as a duplicate of this bug. *** |