SCIM disturbs keyboard focus
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SCIM |
Unknown
|
Unknown
|
|||
eclipse (Ubuntu) |
Invalid
|
Low
|
Unassigned | ||
scim (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: scim
Ubuntu 8.10 (but the same problems occured in 8.04LTS)
SCIM 1.4.7-3ubuntu10
Sometimes, when multiple applications are in use, or when applications produce popups, the keyboard focus is lost. One then has to force the keyboard focus to move to another application (say, another terminal) then move it back to the original application.
While this seems to act up haphazardly, there seems to be a way to reliably reproduce the error:
* activate SCIM for your locale (using im-switch) and restart the session (there is no need to actually run a SCIM input method; it suffices that SCIM is active)
* start Eclipse
* start typing away a small Java program including: System.
When you start typing System., Eclipse will attempt autocompletion (show a list of members of the System class), then when 'out' is selected, it will print a list of members of the PrintStream class.
When it does so, Eclipse has lost keyboard focus. Even if one clicks in the Eclipse window, Eclipse does not see keyboard action. It's impossible to type anymore in Eclipse unless one starts another application, clicks in it to force focus to go into that other application, then clicks back into Eclipse.
If one disables SCIM, Eclipse does what it's supposed to do: if the user continues typing, then what the user types goes into the editor window.
The problem is independent of the window manager (tried with Metacity, Sawfish, and KDE's window manager). The problem occurs with other applications than Eclipse, including gnome-terminal, but with Eclipse the problem can be reproduced reliably.
Other people seem to have the same problem, see http://
Changed in eclipse (Ubuntu): | |
status: | Incomplete → New |
importance: | Undecided → Low |
David Monniaux wrote: out.println( "something" )
> While this seems to act up haphazardly, there seems to be a way to reliably reproduce the error:
> * activate SCIM for your locale (using im-switch) and restart the session (there is no need to actually run a SCIM input method; it suffices that SCIM is active)
> * start Eclipse
> * start typing away a small Java program including: System.
This is a known problem with java. Does this also happen with other
non-java applications?
Maybe related to the fact that java uses the XIM protocol, which is not
very reliable. BUt I'm not sure if the bug is in scim or in java.