-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
1.4.0
-
sparc
-
solaris_9
I am adding a popup menu to a frame and showing when the user clicks the right mouse button within a textarea. When the popup menu is shown, it does not gain focus by default and hence none of the key board traversals work. When I move the mouse over any of the menuitems or sub-menus the menuitems are getting highlighted but not accessible through keys. But When I click any of the sub-menus, the popup menu gains focus and keyboard traversal works after that. But it must gain focus as soon as it is shown.
This is reproducible on SparcSolaris9-CDE on all releases. This works fine on win32.
I have attached a sample test. Execute the sample test. A frame would appear with a button and a textarea. Right click the mouse inside the textarea and the popup menu will be shown. Check whether it has focus by pressing the arrow keys. If none of the items are selected, the bug is reproduced.
Double clicking the right mouse button inside the popup menu makes the sub-menu appear at improper locations and a separate bug has alredy been filed on that (5040712).
This is reproducible on SparcSolaris9-CDE on all releases. This works fine on win32.
I have attached a sample test. Execute the sample test. A frame would appear with a button and a textarea. Right click the mouse inside the textarea and the popup menu will be shown. Check whether it has focus by pressing the arrow keys. If none of the items are selected, the bug is reproduced.
Double clicking the right mouse button inside the popup menu makes the sub-menu appear at improper locations and a separate bug has alredy been filed on that (5040712).
- relates to
-
JDK-6266513 Incorrect key handling in XAWT popup menu
- Resolved
-
JDK-5090643 REG: Menus added to the popup menu are truncated on XToolkit in Tiger
- Closed
-
JDK-5090651 Popup menu and menu items are not gaining focus when clicked, on XToolkit
- Closed
-
JDK-5040712 Multi level Popup MenuItems not shown at proper location
- Closed
-
JDK-5087097 Sub-menus in a popup menu are not traversable through keyboard, on Solaris
- Closed