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

Per-pixel transparency must only be available for undecorated frames/windows

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 6u10
    • Fix Version/s: 6u10
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b31
    • CPU:
      generic
    • OS:
      generic, windows_vista

      Backports

        Description

        It was initially considered to allow using the per-pixel transparency mode for undecorated windows only, because it was unclear what to do with the natively-drawn window decorations. Especially on MS Windows platform where the decorations stop reacting on mouse clicks but still are drawn in some cases once the window enters the non-opaque mode.

        For some reason the code checking for this got lost, and curretnly the com.sun.awt.AWTUtilities.setWindowOpaque() method does not throw an exception in case the windod is decorated, but it should do so.

        If the user simply forgets to call the setUndecorated(true) method, he easily gets non-functional decorations on MS Windows Vista. The visual artifact is considered quite severe.

        The bug is reported here: http://forums.java.net/jive/thread.jspa?threadID=43881&tstart=0

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  anthony Anthony Petrov (Inactive)
                  Reporter:
                  anthony Anthony Petrov (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: