[PATCH] Draw rounded background behind system tray windows

Robert Knight robertknight at gmail.com
Sun Apr 13 11:49:17 CEST 2008


> looks good except for one thing: if there are no icons i don't think the 
> background should get painted.

Sure, will do.  That reminds me of a related problem.  When there is
nothing in the system tray it becomes very small and difficult to find.
When the system tray is full it is not easy to find where to right-click
to access the system tray options or remove it.  Same issues apply to
the task manager when full or empty.

Kicker had little arrows you could click on to get an applet menu.  An
alternative might be a 'design mode' for placing and sizing applets
manually.  Something probably worth discussion for those of you at the
meeting.

Regards,
Robert.

On Sun, 2008-04-13 at 02:19 -0600, Aaron J. Seigo wrote:
> On Saturday 12 April 2008, Robert Knight wrote:
> > According to comments in the code Qt's transparency does not work
> > properly with the system tray windows and so the background is filled in
> > with the current theme colour. 
> 
> i think this is actually a problem with x and the system tray.
> 
> > The attached patch draws a rounded rectangle behind the system tray 
> > widget.  Not as nice as true transparency but I think it is a good
> > option until that can be fixed.
> 
> looks good except for one thing: if there are no icons i don't think the 
> background should get painted.
> 
> probably a check for if (m_mainLayout->rowCount() > 0) would do it?
> 
> _______________________________________________
> Panel-devel mailing list
> Panel-devel at kde.org
> https://mail.kde.org/mailman/listinfo/panel-devel



More information about the Panel-devel mailing list