JDK-6235047 : RFE: Provide a method to hide the status window
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt:i18n
  • Affected Version: 5.0,6
  • Priority: P4
  • Status: Resolved
  • Resolution: Won't Fix
  • OS: solaris,solaris_10
  • CPU: generic,sparc
  • Submitted: 2005-03-02
  • Updated: 2013-06-20
  • Resolved: 2013-06-20
Related Reports
Duplicate :  
Description
On Unix platforms, a status window is attached at the bottom left corner of the client window if the underlying host input method requests to draw its status.

In case of UTF-8 locales, it is always shown even when the user is only typing Latin-1 characters.  It would be convenient for the users to provide a way to hide when unnecessary.

Probably the best way is to follow the settings in the underlying platform, such as GTk+.
On Unix platforms, a status window is attached at the bottom left corner of the client window if the underlying host input method requests to draw its status.
In case of UTF-8 locales, it is always shown even when the user is typing only Latin-1 characters.  It would be convenient for the users to provide a way to hide the status window when unnecessary.
Probably the best way is to follow the settings in the underlying platform, such as GTk+.
(cf. http://developers.sun.com/techtopics/global/products_platforms/jds/reference/faqs/input-mode-window.html)
###@###.### 2005-03-02 18:12:46 GMT

Comments
No requests since the RFE was filed.
20-06-2013

EVALUATION To turn off the status window, we need to create the X input context with XIMStatusNone style. That way, the XIM server won't display any status window at all assuming the underlying XIM server supports this correctly. Note that this is going to apply to both active input context and passive input context defined for the purpose of differentiating the active clients and passive clients (See Java Input Method Framework spec). Calling SunToolkit.getDesktopProperty("gnome.Gtk/IMStatusStyle") will yield the value of the status window setting (nothing or none). The cost of this call based on my measurements is around 1.6% of the whole startup time. I am not sure whether it worths pursing the fix to trade off the feature with the performance. ###@###.### 2005-04-19 19:24:28 GMT
02-03-2005