<AWT Dev> Proposal:X11 default visual support for IM status window on VNC

Ichiroh Takiguchi takiguc at linux.vnet.ibm.com
Fri May 25 05:24:25 UTC 2018

IBM would like to contribute X11 default visual support for IM status 
window patch to OpenJDK project.

Java's Native IM status window is not displayed even if it's there.
Because of this issue, user cannot get proper visual feedback during key 
input operation.
We found this issue on Tiger VNC.

Java may pick up unexpected visual for Java's Native IM status window 
when  Xserver supports multiple visual.

X11 default visual can be changed by FORCEDEFVIS environment variable, 
but it's not easy to find out default visual id.

I'd like contribute following 2 files:
M src/java.desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c
(Change X11 visual setting)
M src/java.desktop/unix/native/libawt_xawt/awt/awt_InputMethod.c
(Support 13 point X11 misc fonts (like k14 font for Japanese), since the 
fonts may defined for unscaled fonts.)

webrev files are in

I appreciate any feedback please, and how I would go about obtaining a 
sponsor and contributor?

Ichiroh Takiguchi
IBM Japan, Ltd.

More information about the awt-dev mailing list