https://bugzilla.redhat.com/show_bug.cgi?id=1145725
Bug ID: 1145725
Summary: Swing Java app loses keyboard input when used with
ibus
Product: Fedora
Version: 21
Component: ibus
Severity: medium
Assignee: tfujiwar(a)redhat.com
Reporter: rjt(a)zygous.co.uk
QA Contact: extras-qa(a)fedoraproject.org
CC: extras-qa(a)fedoraproject.org,
i18n-bugs(a)lists.fedoraproject.org, nomnex(a)gmail.com,
shawn.p.huang(a)gmail.com, tfujiwar(a)redhat.com
I've cloned an older bug because I'm effectively seeing the same problem,
albeit with a newer version of ibus and with PhpStorm instead of Freemind. I
think the Java app itself is irrelevant, it's the fact that it's a Java app
that's pertinent.
The symptoms are as described below, to whit: after running the app for a while
(some hours) it refuses to respond to the keyboard any longer. Using the mouse
still works. Restarting ibus-daemon causes PhpStorm to crash (it used to be
that restarting the daemon would fix the problem for a while, but no longer).
Restarting PhpStorm does resolve the problem for a time.
+++ This bug was initially created as a clone of Bug #800736 +++
Description of problem:
Please help with directions (package, or upstream bug tracker):
I have first reported a bug about the Freemind package, in 2011, after losing
keyboard input when using Japanese
see:
http://sourceforge.net/tracker/?func=detail&aid=3178894&group_id=...
I have a limited understanding of interaction between the different software,
but reading a similar issue ibus+java applications, see:
https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/481656 and
http://code.google.com/p/ibus/issues/detail?can=2&q=&colspec=ID%2...
(closed)
It seems that ibus, when used with Java applications, causes the lose of
keyboard input.
Version-Release number of selected component (if applicable):
ibus 1.4.1
OpenJDK
freemind 0.9 (Java application)
Fedora 15
How reproducible: always
Steps to Reproduce:
1. Open freemind (ibus working)
2. either input English (my default language) either Japanese
3.
Actual results:
after some time, any key press is ineffective in the Java application. The
workaround is to turn off ibus.
Expected results:
Input Japanese (using ibus) in Freemind.
Additional info:
--- Additional comment from fujiwara on 2012-03-07 01:33:33 EST ---
Which shortcut keys do you try to use?
--- Additional comment from nomnex on 2012-03-07 04:48:37 EST ---
no shortcut.
Ibus is running, I start Freemind. I can input English, or Japanese, but after
a (short) time, any key press stop working in the Java application (I can only
mouse click on the menus.)
It only affects the Freemind GUI, outside of it, I can type.
To re-gain keyboard input in Freemind, I must stop ibus. Then I can type again
in Freemind. If I restart ibus, I can't input Japanese in the Freemind window
(I can's select Japanese input[MOZEC or ANTHY] as long as Freemind window is in
focus. If I click on a another window, I can select Japanese input as usual).
If I want to input Japanese again in Freemind, I must first terminate Freemind,
and re-open it.
--- Additional comment from nomnex on 2012-03-12 01:48:05 EDT ---
It there a way I can help debugging this on my end? I have no message when I
launch Freemind from the terminal, and when the bug occurs.
After a few minutes of usage, I can not type anything in Freemind. The keyboard
is not responsive. The only workaround is to quit ibus.
can you reproduce the issue, or am I the only one affected by this problem?
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.6) (fedora-63.1.10.6.fc15-i386)
OpenJDK Client VM (build 20.0-b11, mixed mode)
Thank you.
--- Additional comment from fujiwara on 2012-03-12 02:19:14 EDT ---
I don't think ibus does not work with Java applications.
I guess a Freemind bug or setting failures something. I'm a bit busy for F17.
It would be nice if you could confirmed the behavior with jedit.
--- Additional comment from nomnex on 2012-03-13 10:47:03 EDT ---
(In reply to comment #4)
I guess a Freemind bug or setting failures something. I'm a bit
busy for F17.
Of course, I understand.
It would be nice if you could confirmed the behavior with jedit.
I installed jedit jar (all platform) in my user directory for a test run. It
may not be the proper installation, because Java path was not defined. I did
not find a rpm jedit.
Running $ jedit, I can input Japanese fine.
This is the exact symptom I experience when I use Freemind & ibus:
--start--
https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/481656
I use ThinkingRock, a Java application, and after some time the keyboard input
stops working for this application, meaning I can still use my mouse to
manipulate the program, but I cannot type anything. When closing the iBus
Daemon the input works again after some seconds. Also restarting the Java
application helps to postpone the problem until it occurs again some minutes
later.
I'm using Ubuntu 9.10 with version 1.2.0.20090927-2ubuntu2 of iBus and version
2.2.1 of ThinkingRock. My Java version is 6-15-1.
Please notice: I do NOT want to input Chinese or Japanese or anything like it.
I just want to normally use my keyboard. I also have NO input method selected,
I have the input methods turned OFF.
I have yet to test this behavior with other Java applications (maybe it's a bug
in ThinkingRock?), so I'd be happy if somebody can confirm this bug for other
Java applications. Because the solution is to quit the iBus Daemon, I suspect
iBus to be the problem.
--end--
a ibus developer commented on the launchpad bug: Peng Huang (shawn-p-huang)
#comment 3
--- Additional comment from nomnex on 2012-03-13 19:46:53 EDT ---
I think I found the problem:
- This notebook suffers a LXDE panel bug (known bug).
- My other notebook with integrated GPU Intel and similar F-15 LXDE is not
affected by the LXDE panel bug. I tried Freemind + ibus and it worked fine.
From this starting point, I changed ibus preferences: Show icon on
system tree
(Cleared)
It seems to work! I don't lose input in Freemind after a few minutes.
On question: I lost the ability to turn ibus input on-off with a mouse click
(the input, not the daemon). What is the command line to turn ibus input
on-off?
Thank you again.
--- Additional comment from nomnex on 2012-03-14 02:27:34 EDT ---
It does not work...
after a few hours (vs. a few minutes, before) the bug is here again. The
keyboard cannot input anything in the Freemind window, unless I kill
ibus-daemon. Gosh.
--- Additional comment from nomnex on 2012-03-26 05:36:50 EDT ---
The cause of the input problem was: LXPANEL.
Changing panel (XFCE) on my system solved the issue. I can input Japanese in
Freemind.
See for information:
https://bugzilla.redhat.com/show_bug.cgi?id=803098
Thank you.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=54erDBHhqt&a=cc_unsubscribe