Wallpaper plugins
Petri Damstén
petri.damsten at gmail.com
Wed Aug 20 12:19:03 CEST 2008
On Wednesday 20 August 2008 12:08:36 Aaron J. Seigo wrote:
> is it that it gets the wrong geometry, or that the screen number isn't set?
> i'm guessing the latter. i'm suspicious of the
> c->restore(containmentConfig) line and the lack of a matching save. not all
> the settings from the containment may yet be written into the
> containmentConfig, and without calling save the new containment certainly
> won't (so changing it twice will result in a fairly nasty loss of data) ...
Some debug outputs from Plasma::Containment::restore
kDebug() << geo;
setGeometry(geo);
kDebug() << geometry();
plasma(9196)/libplasma Plasma::Containment::restore: QRectF(0,0 1280x1024)
plasma(9196)/libplasma Plasma::Containment::restore: QRectF(2572,0 1280x1024)
plasma(9196)/libplasma Plasma::Containment::restore: Containment 12 screen 0
geometry is QRectF(2572,0 1280x1024) wallpaper "image" wallpaper mode
"SingleImage"
So at least at the end of the restore screen seems to be 0 but geometry
changes in setGeometry.
> > - Dataengine connection seems to break when containment changed
>
> do you mean DataEngines connected to applets that are migrated from one
> containment to another?
Yes, Digital clock remains empty until going to config dialog and pressing ok
and I also get messages like:
Object::disconnect: No such slot
QObject::dataUpdated(QString,Plasma::DataEngine::Data)
Petri
More information about the Plasma-devel
mailing list