[Bug 161092] Modified size of applets are forgotten when session is closed

Julien Richard-Foy julien.rf at no-log.org
Tue May 6 17:23:32 CEST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161092         




------- Additional Comments From julien.rf no-log org  2008-05-06 17:23 -------
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)


More information about the Panel-devel mailing list