tasks-refactor crashing, panels not restoring correctly

Marco Martin notmart at gmail.com
Wed Oct 8 17:33:23 CEST 2008


On Wednesday 08 October 2008, Sebastian Kügler wrote:
> On Wednesday 08 October 2008 14:00:42 Sebastian Kügler wrote:
> > On Wednesday 08 October 2008 12:11:59 Marco Martin wrote:
> > > it's definitely some applet with the wrong maximum size,
> > > does this happen with tasks-refactor?
> >
> > With both, the version from trunk as well as tasks-refactor. I'm also not
> > sure if too small applets can screw up, they shouldn't stop other applets
> > from growing just not filling their own space in the layout, no?
>
> I've just found out that removing the battery applet makes things work
> again. (Might explain why some people cannot reproduce, the applet is added
> conditionally.)
>
> I've had a look at it, sticking a kDebug() into the constraintsEvent
> function show that when making the panel bigger, this doesn't get
> triggered:

don't know exactly the code so a bit shooting randomly, but maybe it doesn't 
get triggered because the battery is in the systray-refactor rather than 
directly in a containment?

> void Battery::constraintsEvent(Plasma::Constraints constraints)
> {
>     if (constraints & (Plasma::FormFactorConstraint |
> Plasma::SizeConstraint)) {
>         kDebug() << "SizeConstraint | FormFactorConstraint";
>
> Not sure if the problem is in the batteryapplet, it should get those hints
> in any case... Have some other changes that might affect this gone in
> lately? Maybe some other explanation for this?




More information about the Plasma-devel mailing list