Bug 161092 - Modified size of applets are forgotten when session is closed
Summary: Modified size of applets are forgotten when session is closed
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-20 23:20 UTC by erik_hahn
Modified: 2008-06-16 04:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description erik_hahn 2008-04-20 23:20:34 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          gcc 4.2.3 
OS:                NetBSD

Place some plasmoids on the desktop and resize them. After ending the session (logout) and starting a new one, the applets will be at the right place but they will have the default size rather than the one you specified.
Comment 1 erik_hahn 2008-04-20 23:22:23 UTC
I've chosen the wrong OS, it's actually Gentoo Linux.
Comment 2 Julien Richard-Foy 2008-05-06 17:23:31 UTC
I don't have enough time to install a KDE development environnement, I quickly read the sources and I saw that geometry is well saved (in Plasma::Applet::save()) but it's not restored in Plasma::Applet::restore() (in file KDE/kdebase/workspace/libs/plasma/applet.cpp)
It would need to add something like :

QRectF g = c->readEntry("geometry", QRectF()) // (a better default value should be used)
setGeometry(g)
Comment 3 Julien Richard-Foy 2008-05-26 10:49:52 UTC
Revisions 807088 and 807410 fixed this problem. I think we can close this entry.
Comment 4 Aaron J. Seigo 2008-06-16 04:39:26 UTC
*** Bug has been marked as fixed ***.