Version: 4.00.69 (KDE 4.0.69 >= 20080410) (using 4.00.70 (KDE 4.0.70 >= 20080418), compiled sources) Compiler: gcc OS: Linux (i686) release 2.6.24-16-generic This is a severe issue due to KDE updating config files *after* applications are closed. Testcase (trying to reproduce it is not advised) - Open a KDE session, - Open KDE applications - Fill your home partition - Close your KDE apps (or logout) => Look in $KDEHOME/.kde/share/config, the applications you opened while the partition was full now have a zero size. All settings were lost.
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. ***