[Panel-devel] Transparency Issue

Thomas Georgiou tageorgiou at gmail.com
Sun Oct 7 20:58:09 CEST 2007


Hi,

Plasma looks ugly right now and is broken:
http://img116.imageshack.us/img116/2113/plasmab0rkkj7.png

The 3 main problems not dealing with the panel are:
1) Transparency does not work.
2) The center part of the standard background is painted red.
3) Resizing does not work.

1) It seems that the caching code in widget.cpp breaks transparency.  The 
attached patch fixes this by forcing it to not use caching.

2) The code that draws the center part of the standard background draws it 
red.  Commenting out lines 263-265 removes the red, but leaves a transparent 
hole. 
The last commit to background.svg seems to have caused the redness.  Reverting 
it fixes it, but only with <qt 4.3.1.  Reverted with qt 4.3.0, it works fine, 
but with > 4.3.0, it is black in the middle, but becomes more transparent at 
the edges.

3) It seems that a FreeLayout is never created for applets.

Thomas Georgiou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plasmatransfix.diff
Type: text/x-diff
Size: 328 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20071007/5a743610/attachment.bin 


More information about the Panel-devel mailing list