← Back to team overview

openjdk team mailing list archive

[Bug 540751] Re: Unable to use dead keys with java and ibus

 

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

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.
https://bugs.launchpad.net/bugs/540751

Title:
  Unable to use dead keys with java and ibus

Status in “ibus” package in Ubuntu:
  New
Status in “openjdk-6” package in Ubuntu:
  New

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





References