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

Alexis Ménard darktears31 at gmail.com
Mon Aug 4 14:30:49 CEST 2008


On Mon, Aug 4, 2008 at 2:19 PM, Jason Stubbs <jasonbstubbs at gmail.com> wrote:

> On Monday 04 August 2008 21:05:39 JST, Alexis Ménard wrote:
> > Mmm, if you delete the systray, then re-add it it simply works....
> >
> > But when you launch plasma :
> >
> > plasma(3678) SystemTray::updateWidgetGeometry: Problem view is
> > NULL
> > plasma(3678) SystemTray::updateWidgetGeometry: Problem view is NULL
> >
> > it means for me that the panel and all object are not complety
> > created/rendered when the systray is created, so perhaps, it can explain
> > that icons are behind all QGV stuff. Perhaps a horrible test is : add a
> > delay before creating the SystemTrayWidget. Just to test, it's a clue.
>
> 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.




>
>
> > Regards
> >
> > On Mon, Aug 4, 2008 at 1:58 PM, Sven Burmeister
> <sven.burmeister at gmx.net>wrote:
> > > Am Sonntag 03 August 2008 03:28:08 schrieb Jason Stubbs:
> > > > > I just recompiled everything including qt-copy (without the
> patches)
> > >
> > > and
> > >
> > > > > it works fine here :-/
> > > >
> > > > I also just recompiled everything including qt-copy (for other
> reasons)
> > >
> > > and
> > >
> > > > it still doesn't work. I hope it's not some compiler optimization
> bug.
> > > > :(
> > >
> > > I just played with the size of the panel, i.e. made it very tall, then
> > > tiny and finally moved it to the right edge of the desktop and back to
> > > the bottom.
> > > After that the icons are back.
> > >
> > > Another user noticed that he just sees the top of one icon, so they
> might
> > > be
> > > placed out of sight.
> > >
> > > Sven
> > > _______________________________________________
> > > Plasma-devel mailing list
> > > Plasma-devel at kde.org
> > > https://mail.kde.org/mailman/listinfo/plasma-devel
>
>
>
> --
> Jason Stubbs
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20080804/e2a44073/attachment.html 


More information about the Plasma-devel mailing list