Saving a Plasma Dashboard

Marco Martin notmart at gmail.com
Thu Aug 12 17:24:58 CEST 2010


On Thursday 12 August 2010, Aaron J. Seigo wrote:
> On Thursday, August 12, 2010, Marco Martin wrote:
> > perhaps Newspaper::saveContents could override all geometries with dummy
> > values, not sure if soething would break or not...
> 
> nothing should break; but perhaps this is a good use case for a new flag in
> Containment, something like a property: bool appletsManageGeometry. when
> true, they save their geometry out. when false, then it is left 100% up to
> the containment, and the applets save no geometry information. the only
> problem i can see there is the size of the applets wouldn't be stored in
>  that case and will revert to their default sizes every time.
> 
> *thinks*

well, when the applet is created will be resized at the default size anyways.
if 

> perhaps a more fine grained set of flags of what the Containment
>  manages? pos, size, etc?

would make senze, there could be pos, size, zorder and uhm, can't think about 
other stuff
immutability maybe, but i would rather not ;)

Cheers,
Marco Martin


More information about the Plasma-devel mailing list