Bug 187266 - folder view size not preserved on plasma crash
Summary: folder view size not preserved on plasma crash
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-folderview (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-15 23:56 UTC by Clemens Eisserer
Modified: 2012-02-03 14:17 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
plasma before crashed/killed (118.85 KB, image/jpeg)
2009-03-15 23:59 UTC, Clemens Eisserer
Details
plasma after restart (116.35 KB, image/jpeg)
2009-03-15 23:59 UTC, Clemens Eisserer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Clemens Eisserer 2009-03-15 23:56:55 UTC
Version:            (using KDE 4.2.1)
Compiler:          gcc version 4.4.0 20090307 (Red Hat 4.4.0-0.23) (GCC) qt-4.5, fedora rawhide
OS:                Linux
Installed from:    Fedora RPMs

While experiencing bug 187251, I noticed that at each plasma crash the size of my folder view on desktop is not preserved. After plasma is restarted, it shows up minimal sized.

This can be reproduced quite easily:
1. Put a folder-view on desktop
2. open konsole, killall plasma
3. start plasma again

Expected behaviour:
Folder view should occupy the same size on desktop as before the plasma crash happend
Comment 1 Clemens Eisserer 2009-03-15 23:59:23 UTC
Created attachment 32157 [details]
plasma before crashed/killed
Comment 2 Clemens Eisserer 2009-03-15 23:59:43 UTC
Created attachment 32158 [details]
plasma after restart
Comment 3 Jaime Torres 2009-12-29 20:00:47 UTC
Still there using svn trunk 1066188 (KDESC 4.4 beta 2). And I've waited 1 minute before killing plasma-desktop. 
The size, position and rotation are lost.
But also, I've added a new folder view before killing plasma, and the new plasmoid is still there (in its original position, size and rotation).
Comment 4 Nicolas L. 2010-06-07 01:07:52 UTC
Can you reproduce using KDE 4.4.4 or 4.5beta?
Comment 5 Jaime Torres 2010-06-08 22:09:54 UTC
Still there in trunk svn revision 1134984.
The size and rotation are lost.
Comment 6 Chani 2010-06-08 22:33:10 UTC
I think this is actually a problem with the config saving in libplasma. there are some funny things that can happen when a plasmoid inherits Containment but isContainment() returns false... suspicious things happen in Applet, iirc, with config getting copied to [Configuration] when maybe it shouldn't.
Comment 7 Beat Wolf 2011-12-02 19:25:08 UTC
Is this still an issue in kde 4.7x?
Comment 8 Kolia 2011-12-02 23:25:24 UTC
Yep same thing with KDE 4.7.3 I've put a folder view widget, rotated it and then killed plasma-desktop. When restarting plasma, the rotation is gone and the widget back to its previous position. I guess the last rotation wasn't saved (yet?) when I killed plasma.
Comment 9 Jaime Torres 2011-12-03 08:37:50 UTC
Still there in trunk (from yesterday night). The folder view widget size and rotation are lost.
I waited 5 minutes before I killed plasma-desktop.
Comment 10 Ignat Semenov 2012-02-03 13:02:56 UTC
First of all, crashes shouldn't occur, so if something's lost on a crash, the issue is in the crash itself, not in the fact that the data is lost as a result of the crash. So "widget size not preserver on plasma crash" is an invalid bugreport per se.

Now the kquitapp plasma-desktop configuration loss is important. I couldn't reproduce this issue in 4.9 trunk. I guess it's been fixed as a result of the recent configuration code changes by Aaron Seigo, so I'm closing this as
Comment 11 Ignat Semenov 2012-02-03 13:03:22 UTC
fixed.
Comment 12 Clemens Eisserer 2012-02-03 14:17:35 UTC
So, if a filesystem is very likely to loose data because of power failures, its clearly a hardware-bug - but wouldn't it be nice to have the filesystem handle such failures gracefully, instead of dooming the user?!