JDK-8282284 : Chinese input candidate box appears at wrong position
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 11.0.14
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux_ubuntu
  • CPU: x86_64
  • Submitted: 2022-02-17
  • Updated: 2022-03-24
  • Resolved: 2022-02-23
Related Reports
Duplicate :  
Description
ADDITIONAL SYSTEM INFORMATION :
Ubuntu versions crossing past five years

A DESCRIPTION OF THE PROBLEM :
I use WebStorm which uses openjdk runtime.
When input Chinese, candidate box appears outside the bottom left corner of WebStorm window instead of beside cursor in window.

Related issues:
https://youtrack.jetbrains.com/issue/JBR-2460
https://bugs.openjdk.java.net/browse/JDK-8254126?attachmentSortBy=dateTime

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Use Ubuntu 21.10 and install WebStorm, use fcitx5 to input Chinese inside WebStorm window.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
input word candidate box appears beside cursor.
ACTUAL -
candidate box appears at bottom left corner.

CUSTOMER SUBMITTED WORKAROUND :
Some people said this patch can fix this problem, I didn't try.
https://github.com/RikudouPatrickstar/JetBrainsRuntime-for-Linux-x64/blob/master/idea.patch

FREQUENCY : always



Comments
Duplicate of JDK-8264728
23-02-2022

This appears to be a Swing issue, not a JavaFX issue.
22-02-2022