| Summary: | Modified size of applets are forgotten when session is closed | ||
|---|---|---|---|
| Product: | [Unmaintained] plasma4 | Reporter: | erik_hahn |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
erik_hahn
2008-04-20 23:20:34 UTC
I've chosen the wrong OS, it's actually Gentoo Linux. 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)
Revisions 807088 and 807410 fixed this problem. I think we can close this entry. *** Bug has been marked as fixed ***. |