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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 9
    • 9
    • client-libs
    • Ubuntu 16.04 Unity, dual-screen

    • b130
    • 9
    • linux_ubuntu

      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.

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

              Created:
              Updated:
              Resolved: