-
Bug
-
Resolution: Fixed
-
P2
-
6, 6u10
-
b14
-
x86, sparc
-
solaris_2.5.1, solaris_10
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2183834 | 6u18 | Dmitry Cherepanov | P2 | Closed | Fixed | b04 |
I have a frame with a menu added to the menubar. On clicking a button on the frame, I am opening a file dialog. When the file dialog is visible, I am pressing 'F10'. This has been dispatched to the frame and the menu comes up. But Xserver hangs after that and I have to kill the java process from another machine. It is incorrect that frame's menu responds to F10 when a modal dialog is visible.
This is reproducible on SolSparc10-JDS as well as SuSE10 with JDK6 as well as JDK7-b09. I tried regressing this failure and found that the menu always responds to F10 on JDK5 but the Xserver started hanging only after JDK6-b40. Xserver behaves normally on b30. Lot of fixes have gone into b39 and b40 of JDK6.
I have attached a sample test. Execute it and press the button. A file dialog would come up. Once the file dialog comes, press F10. Xserver will stop responding to user interactions.
This is reproducible on SolSparc10-JDS as well as SuSE10 with JDK6 as well as JDK7-b09. I tried regressing this failure and found that the menu always responds to F10 on JDK5 but the Xserver started hanging only after JDK6-b40. Xserver behaves normally on b30. Lot of fixes have gone into b39 and b40 of JDK6.
I have attached a sample test. Execute it and press the button. A file dialog would come up. Once the file dialog comes, press F10. Xserver will stop responding to user interactions.
- backported by
-
JDK-2183834 Pressing F10 when a modal dialog is visible hangs the Xserver, XToolkit
- Closed
- duplicates
-
JDK-6829862 F10 pressed in JDialog produces NPE in EDT
- Closed
- relates to
-
JDK-6890456 Introduce additonal check in XMenuBarPeer to block F10 key press for menus in blocked windows
- Closed