Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6707273

TrayIcon does not support 8-bit alpha channel in Windows XP

    Details

    • Subcomponent:
    • Resolved In Build:
      b77
    • CPU:
      x86
    • OS:
      windows, windows_xp

      Backports

        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.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dcherepanov Dmitry Cherepanov
                  Reporter:
                  dav Andrei Dmitriev (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: