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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 10
    • 10
    • client-libs
    • b34
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: