JDK-8081488 : Cursor keys work unexpectedly on JTextArea with Japanese Input Method (Kotoeri)
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 8u40
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • OS: os_x
  • CPU: x86
  • Submitted: 2015-05-28
  • Updated: 2015-05-29
  • Resolved: 2015-05-29
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 8
8u60Resolved
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)

ADDITIONAL OS VERSION INFORMATION :
OS X 10.9.5

A DESCRIPTION OF THE PROBLEM :
Characters being converted move unexpectedly by cursor keys that intended to select a candidate from the list.

I recorded a movie to show the problem: https://youtu.be/Rx18Cb8P5XI


STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Launch the reproducer
2. Click somewhere in JTextArea
3. Turn on Input Method (Kotoeri) by hit CMD+SPACE
4. Enter some sentences and hit SPACE
5. Select a candidate from the list by cursor key (UP or DOWN)


EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Characters being converted must not move by cursor keys during conversion.

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
public class Main {

    public static void main(String[] args) {
        SwingUtilities.invokeLater(() -> {
            JFrame jFrame = new JFrame();
            JTextArea area = new JTextArea();
            jFrame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
            jFrame.setTitle("JTextArea test");
            jFrame.getContentPane().add(area);
            jFrame.setSize(600, 480);
            jFrame.setVisible(true);
        });
    }
}
---------- END SOURCE ----------


Comments
Will be fixed in 8u60.
29-05-2015