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

[macos] Moving the Translucent and Shaped to secondary monitor has extra painting artifacts



    • 2d
    • x86
    • os_x_10.15


      Attached the screen short and testcase to reproduce the translucent and shaped windows painting artifacts.

      Step to reproduce :
      1) Run the attached testcase( this is jdk demo sample transparentruler Ruler.java) with -Dsun.java2d.metal=true
      2) You will see a Ruler frame which is red color.
      3) Minimize the terminal window
      4) Click on the Ruler
      5) Press Tab + CMD button to select terminal window still Ruler window is seen.
      6) You should click the Ruler any where with in the size of the frame but not on the Rule ( Red color ).
      7) Now click + drag the Ruler to the secondary monitor .
      If you see the painting issue as shown in the attached image the bug is reproduced.

      This issue can be reproduced on all the jdk 17 builds atleast from past 4 to 5 builds. I filed this bug with the following jdk version

      jdk17/may_26/jdk-17.jdk/Contents/Home/bin/java -version
      java version "17-ea" 2021-09-14 LTS
      Java(TM) SE Runtime Environment (build 17-ea+24-LTS-2164)
      Java HotSpot(TM) 64-Bit Server VM (build 17-ea+24-LTS-2164, mixed mode, sharing)

      Note: I tried to reproduced with opengl enabled but its not reproduced.
      Attached the mac details on which the bug was reproduced as well as the external monitor details.

      Let me know If you want any other additional information.




            jdv Jayathirth D V
            landrews Lawrence Andrews
            0 Vote for this issue
            6 Start watching this issue