Bug 187918

Summary: Restarts in default desktop after disk full problem
Product: [Unmaintained] plasma4 Reporter: Unknown <null>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aseigo, bvirlet, echidnaman, fattoni1337, m.debruijne
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Desktop state after boot
Desktop state before booting and encountering problems

Description Unknown 2009-03-23 12:28:47 UTC
Version:           unknown (using 4.2.00 (KDE 4.2.0) "release 93", KDE:KDE4:Factory:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (i686) release 2.6.27.7-9-pae

After a problem with ripping a DVD with K9copy, which did not recognize that the home disk had only 3 gib left and did not warn or give me an error message (separate bug report filed), I restarted the system with a completely full home partition. 
KDE, upon boot, gave a "home partition full" error, and refused to boot further. 
Using Opensuses rescue system, I deleted the offending iso file created by K9copy to make some space. 
Upon reboot, KDE booted well, but now I have got the default installation desktop once again, all my preferences are seemingly not used or found.
Kopete does not find his contact file anymore, and thinks that neither contacts, nor accounts are installed.
I have not yet searched for other problems, but there might well be.
Note that a problem I had with double and triple panel entries has disappeared now.
Comment 1 Unknown 2009-03-23 12:29:46 UTC
Created attachment 32353 [details]
Desktop state after boot
Comment 2 Unknown 2009-03-23 12:35:16 UTC
Created attachment 32354 [details]
Desktop state before booting and encountering problems
Comment 3 Aaron J. Seigo 2009-03-23 17:27:06 UTC
either a file system problem that led to data loss in this situation or perhaps kconfig ran into problems when trying to save configuration data out (write, replace). since it affected kopete as well, this obviously isn't limited to plasma.

are there any contents in your ~/.kde/share/config at all?
Comment 4 Unknown 2009-03-23 17:39:29 UTC
Yes. I have never looked into that directory, but it seems okay (aka it contains lots of files) 

Additionally, I had to reenter all data into Kopete manually, despite all the files being in the ~/.kde4/share/apps/kopete directory. I had a copy of those files elsewhere, they are the same files, but Kopete doesn't seem to see this directory.

I have not so much knowledge of Linux and KDE "internals", but obviously the kde preferences default to something else then my ~/.kde4/share/apps folder (it seems) so the existing preferences are not read. 

Can I somehow figure out where configuration files are saved at the moment, I could try this with kopete and look there for other things? At least those for kopete still exist (before-bug version), so I "just" have to get KDE to read those files?

I understand that me filing this under plasma was not the wisest of choices, but it was the first stop for me since I first found out about the general look of KDE being changed.
Comment 5 Unknown 2009-03-23 17:41:31 UTC
I have tried to de- and reinstall kopete to get it to read the existing configuration files as mentioned above, it does not read these files after a desinstallation. It has to read something else elsewhere.
Comment 6 Aaron J. Seigo 2009-03-23 17:53:16 UTC
hm... when logged into a kde session, what does this command return when run from a konsole window:

kde4-config --localprefix
Comment 7 Unknown 2009-03-23 18:15:23 UTC
/home/Goettschwan/.kde4/
which seems correct. Where would the desktop preferences normally be saved?
I have looked in .kde4/share/apps/plasma and in share/apps/desktoptheme, the first contains info for a comic widget not currently used and nothing else, the second contains two empty folders "aya" and "default", which both contain an empty folder "wallpapers".
Comment 8 Aaron J. Seigo 2009-03-23 20:19:02 UTC
with that prefix, the preferences should be in:

~/.kde4/share/config/plasmarc

and 

~/.kde/share/config/plasma-appletsrc
Comment 9 Aaron J. Seigo 2009-03-23 20:19:15 UTC
with that prefix, the preferences should be in:

~/.kde4/share/config/plasmarc

and 

~/.kde4/share/config/plasma-appletsrc
Comment 10 Unknown 2009-03-24 11:06:19 UTC
I have two plamarc files on my system, one is in etc/kde4/share/config and the one in home. They differ quite largely in size and date. This is normal I suppose?

I looked into the files I have in home. I supposed that any changes I make to the desktop (e.g. selecting another default wallpaper from the shipped ones) should be reflected in those files. I now changed my wallpaper and even rebooted.
I now get this in plasma-appletsrc (the two paragraphs follow one another after changing):

[Containments][12][Configuration][Wallpaper][image]
slideTimer=600
slidepaths=/usr/share/wallpapers/
userswallpapers=
wallpaper=/usr/share/wallpapers/Air
wallpapercolor=56,111,150
wallpaperposition=0

[Containments][12][Wallpaper][image]
slideTimer=600
slidepaths=/usr/share/wallpapers/
userswallpapers=
wallpaper=/usr/share/wallpapers/Blue_Curl
wallpapercolor=56,111,150
wallpaperposition=0


So it seems to me as if the files are reverted, because I do not find my original settings in those files. Have to do it again I suppose.
Comment 11 Bruno Virlet 2009-04-24 16:57:40 UTC
I confirm that I have this bug and I had it with all my 4.* versions. I think it's quite a critical bug (make me fear I could loose more than just the settings, although it never was the case).

Plasma lost its settings, Kopete lost its settings, 

KMail kept its settings (for instance) but wasn't running when disk was full.
Comment 12 Michiel de Bruijne 2009-05-08 14:35:45 UTC
I can also confirm that I have this bug with version 4.2.3. Unfortunately my hard disk became full and I lost everything that was open when the hard disk was full (email data, email settings, plasma applets, plasma settings, etc.).

Does anyone have an idea how it is possible that the email data is being removed when the hard disk is full?
Comment 13 Toni Stjepanovic 2009-07-27 09:38:07 UTC
Same here in Version 4.2.4: My Kopete, KMail and Plasma settings got lost when my home was at 100%. Wasn't able to revert the settings without a backup.
Comment 14 Jonathan Thomas 2009-10-06 18:30:59 UTC

*** This bug has been marked as a duplicate of bug 206596 ***