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

PIT:PopupMenu is not shown on the first right click for all comps and never shown for Choice, XAWT

XMLWordPrintable

    • b67
    • 6
    • b71
    • generic
    • solaris_10
    • Verified

      I have noticed 2 issues with PopupMenu on the b67 PIT build with XToolkit

      1. Popup menu is not shown on the first right click after the application is launched. Say I have added a popup menu to a text area and I am right clicking inside the text area. First right click does not show the popup menu and the mouse cursor alone changes due to mouse grab.

      2. I have added a popup menu to a Choice and showing it when the user right clicks on the choice. Popup menu is never shown when right clicking it on the PIT build.

      The above issues are reproducible only on the b67 PIT build on XToolkit and works fine on b65. Work fine on win32 also. Fix required for RC.

      I have attached 2 sample tests. Execute PopupMenuTest.java and click on one of the buttons. Menu will be removed and added as PopupMenu to the TextArea. Right click inside the textarea. If popup menu is not shown on the first click, issue [1] is reproduced.

      Run MenuTearoffTest.java. Right click inside the choice. If no popup menu is shown, issue [2] is reproduced.


      I have attached a sample test. Execute the sample test. Right click inside the choice. I

            vbaranovsunw Vyacheslav Baranov (Inactive)
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: