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

[TESTBUG] javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucentSwing.java is wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 10
    • client-libs
    • b34
    • windows

      The test is supposed to check the color between the "north" button and "center" list to check the transparency. So the only check added is that color should not be equal to FG_COLOR. Working on HIDPI with uiScale>1.0, this test should fail as the none of the swing components get scaled. But when it is not getting scaled, it will pick color from wrong coordinate, but as the color is not equal to the FG_COLOR, the test passes.

            pbansal Pankaj Bansal (Inactive)
            pbansal Pankaj Bansal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: