JDK-4840551 : IMFTest failure - no prompt commit from lookup choice operation
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt:i18n
  • Affected Version: 1.4.1_02
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2003-04-01
  • Updated: 2003-04-01
  • Resolved: 2003-04-01
Related Reports
Duplicate :  
Relates :  
Description
% java -version
java version "1.4.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b06)
Java HotSpot(TM) Client VM (build 1.4.1_02-b06, mixed mode)
% which java
/bin/java
% uname -a
SunOS miso 5.10 s10_30 sun4u sparc SUNW,Ultra-5_10

In IMFTest.java, commit string is not immediately commit from lookup choice 
operation.

To reproduce 

  1) run "java IMFTest" in ja_JP.eucJP or ja_JP.UTF-8.
  2) click any of the 1st, 2nd, 3rd, 4th or 5th text boxes. (the bug
     occurs on any of the im components except 'non-client component'.
  3) type ctrl-space once to turn on conversion.
  4) type "kou" and hit a space-bar twice to pop up lookup choice window.
  5) select one of the choices to pop down the lookup choice window.
  6) The choice should commit and appear in the text box - but it is not.

###@###.### 2003-04-01
This bug occurs when window manager's keyboard focuspolicy is 
something like "click on window".

Comments
EVALUATION This problem does not occur on the latest Mantis beta build (b19). Possibly this problem has the same root cause with the bug 4780941. Closing as a duplicate. ###@###.### 2003-04-01 This problem is accompanied with another problem, i.e., after 6), keystrokes are entered as if they are duplicated. I tested the scenario on 1.4.2 environment where the suggested fix for 4780941 was removed. The result was follows: Key duplicate problem: reproduced Committed character does not appear: not reproduced I looked into the code further, then it turned out that the fix for the bug 4780941 was applied to the code that fixed the bug 4452384, so if the fix is needed for 1.4.1 line, both fixes are required to backport. ###@###.### 2003-04-07
07-04-2003