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

PIT: Unable to traverse through different submenus in a popupmenu using mouse, on XToolkit

XMLWordPrintable

    • x86
    • linux_sun

      Expected behavior: (Behavior in earlier promoted builds)
      Right click on a component. A popup menu appears. Press the left button on the mouse on any of the menuitems and without releasing it, move the mouse over all the menuitems, sub-menus, etc. When the mouse is moved over another menu or a sub-menu, the menuitems in that menu automatically shows up as long as mouse button is not released.

      Current Behavior (on the PIT build):
      Right click on a component. popup menu appears and Press the mouse on any of the menuitems, menu etc. Move the mouse keeping the left button down. Sub-menus, menuitems of the sub-menus did not appear. The problem is there is an open bug where popup menu does not gain focus. So keyboard traversal is ruled out. If the user clicks on the menu to see the menuitems and later chooses to click on some other menu will not work due to an open bug. Such as action will dispose the popup menu itself.

      For more info: refer 5091202 - The workaround given in this bug is broken in the PIT build. So without this, traversal would become even more difficult for the end user.

      This is occuring only on XToolkit, only in the following PIT build:

      java version "awt.pit-awt-blade-2005-02-22-Tue-int.mustang"
      Java(TM) 2 Runtime Environment, Standard Edition (build awt.pit-awt-blade-2005-02-22-Tue-int.mustang)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b24, mixed mode)

      This is not reproducible on any of the promoted builds (checked with Mustang-b25) and not reproducible on win32.

      I have attached a sample test. Execute the sample test. You would see a textarea. Right click on the textarea. Press the left mouse button on any of the menuitems in the popup menu and move the mouse over all other menus, sub-menus, menuitems etc. If the sub-menus or menuitems did not appear, the bug is reproduced.
      ###@###.### 2005-2-27 16:23:52 GMT

      This is noticed on Menu also. Some of the menuitems are not clickable using mouse in the menu added to a menubar. Run the attached test (MenuTest.java) and click 'Messages' menu. Without releasing the mouse, Goto 'Move' sub-menu and try releasing the mouse on any of the menuitems shown there. No action /item event will be triggered.

      ###@###.### 2005-2-27 16:38:39 GMT

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: