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

Since b130, issue with javax/swing/JMenuItem/8158566/CloseOnMouseClickPropertyTest.java

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:
    • Environment:

      Ubuntu 16.04 Unity, dual-screen

    • Subcomponent:
    • Introduced In Build:
      b130
    • Introduced In Version:
      9
    • OS:
      linux_ubuntu

      Description

      This test is for a fix in b127 and it does pass with that build and 128, 129 as well -- but with b130 and later it fails on both my dual screen Ubuntu 16.04 systems with
      java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
      at java.awt.Component.getLocationOnScreen_NoTreeLock(java.desktop@9-ea/Component.java:2079)
      at java.awt.Component.getLocationOnScreen(java.desktop@9-ea/Component.java:2053)
      at CloseOnMouseClickPropertyTest.lambda$getClickPoint$2(CloseOnMouseClickPropertyTest.java:143)

      Indeed, there's some painting problem. A component (this time a JMenuItem) is not visible on the screen.

      Looks like it is the same issue as JDK-8164462.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ssadetsky Semyon Sadetsky (Inactive)
              Reporter:
              yan Yuri Nesterenko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: