JDK-2148443 : PIT:Unable to select the item's in 'input method selection' popupmenu by using keyboard.
  • Type: Backport
  • Backport of: JDK-6544309
  • Component: client-libs
  • Sub-Component: javax.swing
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2007-04-11
  • Updated: 2011-01-22
  • Resolved: 2007-06-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u4 b01Fixed 7Fixed
Description
See description and evaluation in the jdk7 version. The bug is exactly the same.

Comments
WORK AROUND Use mouse to select items from the Input Method Selection popup menu.
25-06-2007

SUGGESTED FIX webrev: http://javaweb.sfbay/jcg/6u3/swing/6544309/ mail-archive: http://sa.sfbay.sun.com/mail-archive/6544309/ The fix for 6492266 turned out not so good. Some annoying problems weren't eliminated. The problem was in the fact, that the IM menu is handled by different EDT than it's parent. The fix made the menu always heavyweight. I invited a new simple approach. All the problems will be solved if the menu and it's parent will be handled with the same EDT. I wrote a code, which finds EDT of the menu parent and uses it to show the menu. Also I found and fixed a related problem, which consists in IM menu inaccessibility for keyboard input just after menu appearance. The cause is in BasicPopupMenuUI.MenuKeyboardHelper.stateChanged() method. The method is responsible also for finding of a popup menu invoker and for assigning an input map to it. Now if the invoker is JDialog, the input map isn't assigned. A couple of lines of code fixed the problem. Finally, I had to cut off a part of the test case for 6492266 because, in fact, I partially rolled back the fix for 6492266.
25-06-2007

EVALUATION See description and evaluation in the jdk7 version. The bug is exactly the same.
20-04-2007