JDK-4399699 : City Input Method no longer works on RedHat 7.0 (6.2 fine)
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt:i18n
  • Affected Version: 1.3.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2000-12-20
  • Updated: 2001-05-08
  • Resolved: 2001-05-08
Related Reports
Duplicate :  
Description

Name: krC82822			Date: 12/20/2000


(submitted against kest-linux-fcs)
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Java HotSpot(TM) Client VM (build 1.3.0, mixed mode)

1. Install RedHat Linux 7.0.  Apply all the updates.
2. Download CityIM.jar from
   http://java.sun.com/j2se/1.3/docs/guide/imf/spi-sample/CityIM.jar.
   Copy it to <JDK>/jre/lib/ext directory.
3. Go to directory <JDK>/demo/jfc/Notepad.  Run
   java -jar Notepad.jar
4. Select City Input Method by defined hot key.
5. Enter "nyc" then press "Space" key.  The string is automatically
   converted to "New York City".  Press "Space" again.  A lookup
   window shows up briefly and then disapeared.  The lookup
   window should stay in this case.

In RedHat Linux 6.2, the lookup window stays and works fine.
(Review ID: 111600) 
======================================================================

Comments
EVALUATION The reason of this problem is that the window manager of RH7.0 is Sawfish, which ignores XWMHints.input on window creation but follows the user focus policy settings. KWM has the same problem (cf. 4351215). This behavior may be solved with the RFE 4293626. naoto.sato@Eng 2001-01-03 After implementing the 4293626, it still does not work on X11 implementation due to the getOppositeComponent() problem (cf. 4449510). So making this bug as a dup of it. naoto.sato@Eng 2001-05-08
08-05-2001

WORK AROUND This problem can be avoided by setting the Sawfish window manager's focus policy not to set the initial focus to the window. naoto.sato@Eng 2001-01-03
03-01-2001