Wallpaper plugins

Aaron J. Seigo aseigo at kde.org
Wed Aug 20 12:50:52 CEST 2008


On Wednesday 20 August 2008, Petri Damstén wrote:
> 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.

ah, you mean it moves on the scene (to (2572, 0)). that's fine; that's just 
Corona ensuring they don't overlap. what's important is that the size remains 
the same.

it probably needs to save() its data into the config object as well though for 
it to stick ...

> > > - 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)

that really doesn't make much sense, since to the applet and engine there are 
no changs happening there that should affect the connections. i wonder what is 
causing this...

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20080820/0de180b0/attachment.sig 


More information about the Plasma-devel mailing list