[PATCH] Draw rounded background behind system tray windows

Robert Knight robertknight at gmail.com
Sat Apr 12 17:04:08 CEST 2008


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.  This looks wrong on a panel if the
background is not a solid colour (eg. "silicon" theme) because the black
background stands out like a glitch and there are gaps between the
icons.

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.

Regards,
Robert.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: systemtray-round-corners.patch
Type: text/x-patch
Size: 1997 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080412/45c48fc4/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: systemtray-corners.png
Type: image/png
Size: 20689 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080412/45c48fc4/attachment-0001.png 


More information about the Panel-devel mailing list