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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: client-libs
    • Labels:
    • Resolved In Build:
      b34
    • OS:
      windows

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              pbansal Pankaj Bansal
              Reporter:
              pbansal Pankaj Bansal
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: