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

Weird drawing issues when using Windows 7 Basic Theme

    XMLWordPrintable

    Details

      Description

      FULL PRODUCT VERSION :
      java 1.8u25 64bit (but reproduced with 1.7u71 64 bit as well)

      ADDITIONAL OS VERSION INFORMATION :
      Windows 7

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Bug only occurs when using Windows 7 basic theme. Bug does not occur with default Windows 7 aero theme.

      A DESCRIPTION OF THE PROBLEM :
      Various strange drawing issues were encountered in our Java app when using the Windows 7 basic theme (Start Menu > Personalize your computer > Windows 7 basic

      Screenshot doesn't actually show the blur - when the motion stops, the window redraws itself.

      The Lync window uses transparent edges. AWT/Swing seems to have weird drawing issues whenever transparent windows are involved in Windows 7 basic theme. Are you aware of any trouble with the Windows 7 basic themes?

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Here's one scenario.

      1) Go to a Windows 7 machine that has Microsoft Lync 2013 installed
      2) Swing to Windows 7 basic theme
      3) Bring up the BorderLaunch demo from http://docs.oracle.com/javase/tutorialJWS/samples/uiswing/BorderDemoProject/BorderDemo.jnlp
      4) Move the Border demo over the Lync window's edge. As you move the Java window, the Java window has a blur right along the Lync window's edge. For some reason it is affected by the application underneath.
      5) Switch back to Windows 7 aero theme. Repeat steps - no drawing issue when moving Java window over Lync window.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Expect same drawing in either basic or aero Windows 7 theme
      ACTUAL -
      See screenshot. The blue rectangle is the area where the blur occurs when Java window is moved over the Lync window's edge. In this case, the blur goes away when taking screenshot, so blur doesn't actually show up in screenshot.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      Only known workaround is to ask users to use aero theme. We see weird Java Window transparency issues when Windows 7 doesn't use "Desktop composition" and "Visual Styles". We've seen pbs when Java windows were over windows with transparent edges (Microsoft Lync 2013), when Java app uses lw Swing components and hw menus.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: