[PATCH] BUG: 165460 Some icons with "semi transparent" effect (disabled) get checkered pattern

Christoph Feck christoph at maxiom.de
Fri Mar 27 06:27:22 GMT 2009


Some icons are stored as 8 bit palettized images (due to PNG optimization), 
and the KIconEffect::semiTransparent() code avoids allocating a new palette, 
but instead injects transparent pixels into the image, causing the effect 
described in the bug report. The patch fixes this.

I am posting it for review here, because I am not really sure, wether changing 
the color table is the right thing, or if there are some cases where the 
palette should not be touched even when the Antialiasing support is 

Christoph Feck (kdepepo)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kiconeffect-semitransparent.diff
Type: text/x-diff
Size: 980 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090327/5de4bbb1/attachment.diff>

More information about the kde-core-devel mailing list