Name: rmT116609 Date: 05/08/2003
FULL PRODUCT 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)
FULL OS VERSION :
Microsoft Windows 2000 [Version 5.00.2195]
A DESCRIPTION OF THE PROBLEM :
When hitting the Enter (or Tab) key to commit a text being composed, instead of appending a new line '\n' (or a tab '\t') to the composed text, prepending occurs instead.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Download http://prdownloads.sourceforge.net/vietime/VietIME-1.0.1.zip, extract, and install VietIME.jar in jre/lib/ext directory
2. Launch a Java notepad-like Swing-based application
3. Select Vietnamese Input Method (VNI)
4. Type a vowel (a,o,e,i,or y) and then hit Enter key
EXPECTED VERSUS ACTUAL BEHAVIOR :
When the Enter key is used to commit a composed text, a new line character '\n' should be appended to the composed text, producing a carriage return after the committed text.
If the Tab key is used to commit the composed text, a Tab character '\t' should be added *after* the committed text, not *before*.
Currently, the '\n' is prepended, erroneously sending the committed text to the next, new line.
Similar with the Tab key (\t), in which the tab is added *before* the committed text, instead of *after*.
This problem may result from a fix for Bug ID 4712160. The fix may have corrected the bug, but introduced another one.
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
---------- END SOURCE ----------
(Review ID: 183762)