← Back to team overview

touch-packages team mailing list archive

[Bug 481656] Re: iBus blocks input in Java application

 

Being hit by this one for a long time now, when using JOSM (all released stable JARs for a couple year now, if not more). Of course, while using Java version 7, which is the only release JOSM is "qualified" to run with:
"""
$ java -version
java version "1.7.0_72"
Java(TM) SE Runtime Environment (build 1.7.0_72-b14)
Java HotSpot(TM) Server VM (build 24.72-b04, mixed mode)
"""

I just arrived in this bug now, and tried the recommended "ibus restart" to get text input working again, but after a few seconds with input working again, the Java application died miserably. Just a few major highlight from the generated report, which I have just attached (hs_err_pid29918.log):
"""
Current thread (0x2760c000):  JavaThread "AWT-EventQueue-0" [_thread_in_native, id=29948, stack(0x27b29000,0x27b7a000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=2 (SEGV_ACCERR),
si_addr=0x269bce28

Stack: [0x27b29000,0x27b7a000],  sp=0x27b7841c,  free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  0x269bce28
j  sun.awt.X11.XInputMethod.setXICFocusNative(JZZ)V+0
j  sun.awt.X11.XInputMethod.setXICFocus(Ljava/awt/peer/ComponentPeer;ZZ)V+25
j  sun.awt.X11InputMethod.activate()V+162
j  sun.awt.im.InputContext.activateInputMethod(Z)V+169
j  sun.awt.im.InputContext.focusGained(Ljava/awt/Component;)V+137
...
"""

Even if this is not entirely related to supported Ubuntu packages (there seems to be something related to Java 7 and Java applications), the fact is it seems "ibus" has some saying about it, and other Linux distros seem to be free from this significant nuisance. Considering this has been documented and reported for nearly six years now, if feels disappointing to see such a hot bug being disregarded for that long. I am not using the greatest and latest Ububtu, but I can't see it fixed in any later release either:
"""
$ cat /etc/os-release
NAME="Ubuntu"
VERSION="14.10 (Utopic Unicorn)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.10"
VERSION_ID="14.10"
HOME_URL="http://www.ubuntu.com/";
SUPPORT_URL="http://help.ubuntu.com/";
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/";
""" 

I don't know if this is related or not, but also at times with JOSM I
experience the inability to enter Spanish characters instead of losing
input completely to the application. As ibus seems to deal with
"entering foreign characters", I suspect it may be the culprit for both
problems.

Anyways, let's see if this gets addressed at some point in the very
immediate future.

Thank you.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ibus in Ubuntu.
https://bugs.launchpad.net/bugs/481656

Title:
  iBus blocks input in Java application

Status in IBus:
  Unknown
Status in Iced Tea:
  Confirmed
Status in ibus package in Ubuntu:
  Invalid
Status in icedtea-java7 package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: ibus

  This is a very unfortunate bug, as it is hard to reproduce :(.

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ibus/+bug/481656/+subscriptions