Transparency issues with 32bpp toolbar icons in Ubuntu (gtk 2)
Original Reporter info from Mantis: wp @wpam
-
Reporter name:
Original Reporter info from Mantis: wp @wpam
- Reporter name:
Description:
The "Fugue" icon collection (http://p.yusukekamiyamane.com/) contains 32bpp png images which can be used as nice toolbar glyphs. They display perfectly on Windows, but in Ubuntu it looks as if some pixels are missing.
In the attached screenshots of Win7 and Ubuntu 12.04, compare the 32bpp images to see the effect. Note that the display issues are not related to png because 32bpp bmp images show the same issue.
(24bpp images without an alpha channel do display properly on a bright background, but poorly on a dark background - this is due to the program xnview which I used for reducing color depth and which assumes a white background and therefore paints partially transparent images bright.)
It is my feeling that partial transparency of 32 bpp images is not handled correctly in the gtk2 widgetset.
Steps to reproduce:
The screen shots were created from the attached demo project. The zip file contains also the icons used. Just compile and run on Windows and Ubuntu to see the difference.
Additional information:
See the forum discussion of this issue for more details (http://forum.lazarus.freepascal.org/index.php/topic,23101.0.html).
Mantis conversion info:
- Mantis ID: 25488
- OS: win32 vs Ubuntu
- OS Build: win7 vs. Ubuntu
- Platform: x86
- Version: 1.3 (SVN)
- Fixed in revision: 43644 (#a76c5900)