Unable to use dead keys in Java apps

Bug #1863080 reported by Johny
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
ibus
Fix Released
Unknown
ibus (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

This is same bug as #540751, as it happens again in Ubuntu 19.10 with Java 11. Way of reproduce it:

- Fresh Ubuntu 19.10 install.
- Install default-jre.
- Download (for example) lastest NetBeans version.
- Edit a file in NetBeans, you can't insert characters like 'á'.

The workaround is the same, define XMODIFIERS='' before launching the app.

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
Revision history for this message
Hans Deragon (deragon) wrote :

It worked for me this morning with IntelliJ IDEA, Ubuntu 19.10, and the following setup:

$ echo $XMODIFIERS
@im=ibus

$ java -version
openjdk version "11.0.5" 2019-10-15
OpenJDK Runtime Environment (build 11.0.5+10-b520.30)
OpenJDK 64-Bit Server VM (build 11.0.5+10-b520.30, mixed mode)

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

Thanks for your report. I would suspect that this problem is upstream in nature, so it would be good if you could submit an upstream issue too:

https://github.com/ibus/ibus/issues/

If you do, please post the URL to the upstream issue here for tracking purposes.

Revision history for this message
Arseniy Nisnevich (arsnisnevich) wrote :

The corresponding issue in JetBrains issue tracker: https://youtrack.jetbrains.com/issue/IDEA-59679

Revision history for this message
indigocat (indigocat) wrote :

Opened issue in iBus repo: https://github.com/ibus/ibus/issues/2237

Changed in ibus:
status: Unknown → New
Changed in ibus:
status: New → Fix Released
Revision history for this message
Arvid Norlander (vorpalblade) wrote :

Even though it says fix released, Ubuntu 18.04 is still affected by this. Presumably this needs LTS backporting?

Revision history for this message
Sebastien Bacher (seb128) wrote :

it's not marked as fixed in Ubuntu, it's just an automaking reflection of the status of https://github.com/ibus/ibus/issues/2237 upstream

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

Upstream didn't acknowledge it as a valid bug, so we are back at square one.

Revision history for this message
M Conrad (mconrad202) wrote :

```bash
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
muksihs@omen-desktop:~$ set | grep -E 'XMODIFIERS|GTK_IM_MODULE|QT_IM_MODULE';setxkbmap -query
GTK_IM_MODULE=ibus
QT_IM_MODULE=ibus
XMODIFIERS=@im=ibus
rules: evdev
model: pc105
layout: us
variant: altgr-intl
options: compose:lwin,compose:rwin,grp_led:scroll,mod_led:compose
muksihs@omen-desktop:~$ cat .xsessionrc
#!/bin/bash

export CLUTTER_IM_MODULE=ibus
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIERS=@im=ibus

muksihs@omen-desktop:~$
```

I'm using ibus with a local m17n layout.

Layout file: https://github.com/CherokeeLanguage/m17n.d/blob/main/chr-phonetic.mim

My issue with ibus and intellij/pycharm is that the cursor is positioned before the last character typed instead of after on short sequences where a longer sequence exists.

The cursor appears to get moved back one character in the matching case.

I'm not sure the issue I'm having is exactly the same as this issue as I'm not using dead keys. See https://youtrack.jetbrains.com/issue/PY-55374/ibus-input-issue-where-cursor-position-ends-being-before-the-character-inserted

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.