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

Popup window is not shown on Linux/Gnome in tests automated by Jemmy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P1 P1
    • None
    • 5.0
    • client-libs
    • None

      Popup window is not shown even the proper event is delivered to a responsible component. It happens only on Linux/Gnome with JDK1.5.0-beta (lastly tested on b24). It blocks majority of automated tests of NetBeans IDE which use Jemmy library. To reproduce:

      - download jemmy.jar from http://jemmy.netbeans.org/downloads.html
      - download attached testPopup.zip
      - run e.g. like this: java -cp /tmp/jemmy.jar:testPopup.zip TestPopup15

      You will see a frame with JTextArea in it. The text area has a simple popup associated with it. If you run it on a different JDK than 1.5, it will several times open a dialog by popup menu. But on JDK1.5 it will stop waiting on popup window to show. At the standard output you can see an event last delivered to the text area. The test will time out in 60 seconds.

            kizune Alexander Zuev
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: