Unable to use dead keys with java and ibus

Bug #540751 reported by Eric Hartmann
74
This bug affects 12 people
Affects Status Importance Assigned to Milestone
ibus (Ubuntu)
Invalid
Undecided
Unassigned
openjdk-6 (Ubuntu)
Invalid
Undecided
Unassigned
openjdk-7 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Using latest Lucid packages, I am unable to use ^ key to generate ê french character in every Java programs (jEdit, Netbeans, etc.).

Typing ^ + e give just the e character.
Typing ^ + Space and nothing appears.

I've tried with Sun JDK (6u18, 6u20, 7) and the bug is still present.

I've tried to remove ibus and everything works again (I've just unset XMODIFIERS and GTK_IM_MODULE).

I don't know if it's an ibus bug or openjdk one.

ProblemType: Bug
Architecture: amd64
Date: Thu Mar 18 09:03:11 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/lib/jvm/java-6-openjdk/jre/bin/java
InstallationMedia: Error: [Errno 13] Permission non accordée: '/var/log/installer/media-info'
NonfreeKernelModules: nvidia
Package: openjdk-6-jre-headless 6b18~pre2-1ubuntu1
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=fr_FR.utf8
ProcVersionSignature: Ubuntu 2.6.32-16.25-genUser Name
SourcePackage: openjdk-6
Uname: Linux 2.6.32-16-generic x86_64

Revision history for this message
Eric Hartmann (hartmann-eric) wrote :
Revision history for this message
Matthias Klose (doko) wrote :

seems to be independent of the java version

Revision history for this message
Peter Lundqvist (peterl) wrote :

I can confirm this as well - onlyd difference here is
LANG=en_US.utf8

Revision history for this message
Xavi Ivars (xavi-ivars) wrote :

I have the same problem.

In my laptop, LANG is ca_ES.utf8@valencia

Revision history for this message
Xavi Ivars (xavi-ivars) wrote :

Also tested with ca_ES.utf8

Noone has solved it?

Revision history for this message
Jefferson Andrade (joandrade) wrote :

I have the same problem.

If I launch a Java application I can switch the input method to Anthy or Latex, but I have no accented characters, nor can get any character if I type <dead key>+<space> -- it seems that dead key are completed ignored.

If I launch the Java application as "XMODIFIERS='' <java-app-name>", than the dead key work as expected, but I can not switch the input method (so I can't use Anthy or Latex input methods). This is very frustrating since I have to type text in Portuguese, Japanese and English.

Distribution version: Ubuntu 10.04 Lucid Lynx

$ uname -a
Linux Amitiel 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:26:08 UTC 2010 i686 GNU/Linux

$ java -version
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.1) (6b18-1.8.1-0ubuntu1)
OpenJDK Server VM (build 16.0-b13, mixed mode)

$ dpkg -l | grep 'ibus'
ii ibus 1.2.0.20091215-1ubuntu4 New input method framework using dbus
ii ibus-anthy 1.2.0.20100115-1ubuntu0.1 anthy engine for IBus
ii ibus-gtk 1.2.0.20091215-1ubuntu4 New input method framework using dbus
ii ibus-m17n 1.2.0.20091217-1 m17n engine for IBus
ii ibus-qt4 1.2.0.20091217-1 qt-immodule for ibus (QT4)
ii ibus-table 1.2.0.20100111-1 table engine for IBus
ii libibus-qt1 1.2.0.20091217-1 qt-immodule for ibus (QT4)
ii libibus1 1.2.0.20091215-1ubuntu4 New input method framework using dbus
ii libusb-0.1-4 2:0.1.12-14ubuntu0.2 userspace USB programming library
ii libusb-1.0-0 2:1.0.6-1 userspace USB programming library
ii libusbmuxd1 1.0.2-1ubuntu2 USB multiplexor daemon for iPhone and iPod Touch d
ii python-ibus 1.2.0.20091215-1ubuntu4 New input method framework using dbus

BTW. The problem also happens with Sun Java Virtual Machine 1.6.20.

Revision history for this message
Takeuchi (g-takeuchi) wrote :

Besides the reported issues, this problems seems to affect java applications that uses Swing, but not those that use SWT.
For example, Eclipse works fine, but Netbeans is affected. I wrote a minimal swing application that is affected by the reported problem:

------
import javax.swing.JFrame;
import javax.swing.JTextField;

public class Main extends JFrame {

 public Main() {
  JTextField txtField =new JTextField();
  add(txtField);
  this.setSize(100, 100);
  setVisible(true);
 }

 public static void main(String[] args) {
  new Main();
 }
}

------

My environment:

# uname -a
Linux zienz 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 02:41:37 UTC 2010 x86_64 GNU/Linux

#java -version
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.2) (6b20-1.9.2-0ubuntu2)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)

#dpkg -l | grep ibus
ii ibus 1.3.7-1ubuntu4 New input method framework using dbus
ii ibus-anthy 1.2.1-1 anthy engine for IBus
ii ibus-gtk 1.3.7-1ubuntu4 New input method framework using dbus
ii ibus-pinyin 1.3.10-1 pinyin engine for ibus
ii ibus-pinyin-db-android 1.3.10-1 pinyin engine for ibus, android database
ii ibus-qt4 1.3.0-1 qt-immodule for ibus (QT4)
ii ibus-table 1.3.0.20100621-1 table engine for IBus
ii libibus-qt1 1.3.0-1 qt-immodule for ibus (QT4)
ii libibus2 1.3.7-1ubuntu4 New input method framework using dbus
ii libusb-0.1-4 2:0.1.12-15ubuntu2 userspace USB programming library
ii libusb-1.0-0 2:1.0.8-2 userspace USB programming library
ii libusbmuxd1 1.0.4-1 USB multiplexor daemon for iPhone and iPod Touch devices - library
ii python-ibus 1.3.7-1ubuntu4 New input method framework using dbus

Revision history for this message
Xavi Ivars (xavi-ivars) wrote :

Any advice about how to solve this problem?

Revision history for this message
Jefferson Andrade (joandrade) wrote :

Not really a solution, but the input methods seems to work except for the deadkeys issue, so what I did was to install the “latn-pre (m17n)” input method in ibus, so that I can enter the accented characters via input method instead of the dead keys.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ibus (Ubuntu):
status: New → Confirmed
Changed in openjdk-6 (Ubuntu):
status: New → Confirmed
Revision history for this message
David Gómez (dabisu) wrote :

Yes, it's broken here too. I tested all the possible combinations. openjdk 6 and 7, even oracle jdk.

I cannot type dead keys characters, like áíéóú used in spanish. My test software is OmegaT: http://www.omegat.org

Isn't there a workaround for this problem?

Revision history for this message
David Gómez (dabisu) wrote :

By the way, this bug got reported in 10.04, but i'm on 11.10 and the bug is hot and running.

Revision history for this message
Emmanuel Castro (emmanuel-castro) wrote :

The same problem occurs with KDE based application such as VirtualBox setting application.
The same problem occurs with SCIM.
I think the bug as to be reported to the OpenJDK team.
How do KDE application handle input-methods?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openjdk-7 (Ubuntu):
status: New → Confirmed
Revision history for this message
Dan Jared (danjaredg) wrote :

The bug continues on Ubuntu 13.10 with openjdk7

Revision history for this message
Emmanuel Castro (emmanuel-castro) wrote :

The bug is solved on Ubuntu 13.10 with openjdk7 on my machine. Do note that I use the standard Ibus for French, Chinese, and Greek keyboards.

Revision history for this message
David Gómez (dabisu) wrote :

As Emmanuel says, is working on 13.10. I use ibus for Spanish (dead keys for accents) and CJK. This bug should be closed.

Revision history for this message
dino99 (9d9) wrote :

That version is no more supported

Changed in openjdk-7 (Ubuntu):
status: Confirmed → Invalid
Changed in openjdk-6 (Ubuntu):
status: Confirmed → Invalid
Changed in ibus (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Johny (juanbertinetti) wrote :

This bug is now on Ubuntu 19.10 with openjdk-11...

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Re-opening the ibus task for now.

@Johny: This is a very old bug report, and a lot has been changed since it was originally filed. Any chance you can provide some details about how to reproduce the bug on 19.10?

Changed in ibus (Ubuntu):
status: Invalid → New
tags: removed: lucid
Revision history for this message
Sebastien Bacher (seb128) wrote :

The bug here is old, rather than reopening it please open a new one using 'ubuntu-bug ibus' with a detailled description of the issue and how to trigger it

Changed in ibus (Ubuntu):
status: New → Invalid
Revision history for this message
Johny (juanbertinetti) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.