JDK-6707273 : TrayIcon does not support 8-bit alpha channel in Windows XP
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6,7
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows,windows_xp
  • CPU: x86
  • Submitted: 2008-05-27
  • Updated: 2013-09-12
  • Resolved: 2009-11-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u32Fixed 7 b77Fixed
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
java version "1.6.0_10-beta"
Java(TM) SE Runtime Environment (build 1.6.0_10-beta-b23)
Java HotSpot(TM) Client VM (build 11.0-b11, mixed mode, sharing)

Note: this bug is also affecting 1.6.0_06


ADDITIONAL OS VERSION INFORMATION :
Windows XP SP2

A DESCRIPTION OF THE PROBLEM :
The TrayIcon class only supports 1-bit transparency in Windows XP. It may be affecting Vista as well. Please see this forum thread for further information:

http://forums.java.net/jive/thread.jspa?threadID=25489

It seems as though the bug as already been fixed in JDIC, but for some reason this fix has not been applied in either 1.6.0_06 or 1.6.0_10-beta-b23

https://jdic.dev.java.net/issues/show_bug.cgi?id=350





STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create an image with 8-bit alpha channel transparency and add it to the System Tray.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Varying alpha values should result in varying levels of transparency.
ACTUAL -
An alpha value of 0 results in a fully transparent pixel, but an alpha value of greater than 0 results in a fully opaque pixel.

REPRODUCIBILITY :
This bug can be reproduced always.

Comments
EVALUATION Fixed.
2009-10-22