System tray issues (WAS: Re: KDE/kdebase/workspace/plasma/applets/systemtray)

Sebastian Sauer mail at dipe.org
Mon Aug 4 18:17:52 CEST 2008


On Monday 04 August 2008, Alexis Ménard wrote:
> > The "view is null" stuff is normal. What's really concerning is the
> > "Cannot paint on null pixmap" generated in QPainter::begin(). That
> > message doesn't appear when removing the system tray and adding it back,
> > which is of course one way to get the icons to appear again. Commenting
> > out the line m_background->paintPanel(painter) causes that message to go
> > away which tends
> > to imply that there is a problem before we even get into the
> > SystemTrayWidget
> > domain.
>
> For me no, you can't start to create an applet if plasma is not fully
> initialized. It for this reason we have init method. I have move the
> connect into init and it delete this "warning". Of course it doesn't solve
> our problem.

ok, another wild guess (sorry, I still can't reproduce it at all for whatever 
reason);

within systemtraycontainer.cpp in the SystemTrayContainer::x11Event-hack move 
the setMinimumSize(22,22); to the ctor (but if it fixes it, don't commit 
since that reopens some other bugs, heh).


More information about the Plasma-devel mailing list