Public bug reported:

On Ubuntu 24.04 LTS, IBus 1.5.29 causes incorrect keyboard event
handling in some Windows games running through Steam Proton.

With a French AZERTY keyboard, accented keys such as:
- é
- è
- à
- ç

are not correctly detected by Proton games when configuring keyboard
bindings.

The issue is especially visible with the "2/é" key:
- Pressing "é" alone: the game does not detect any key press.
- Pressing Shift+é: the game detects the character "EACUTE".

This affects multiple games using different engines, including:
- Shadow of the Tomb Raider
- Rise of the Tomb Raider
- Tomb Raider (2013)
- Heavy Rain
- Beyond: Two Souls

The issue is not caused by the keyboard layout configuration.

Tests performed:
- GNOME keyboard layouts tested:
  - French (fr)
  - French (fr+oss)
  - French (obsolete, variant) (fr+latin9)
- Wayland and X11 sessions tested
- Steam Input disabled
- Multiple Proton versions tested:
  - Proton Experimental
  - GE-Proton 11.1

All showed the same behaviour.

The issue disappears when launching the game with:

XMODIFIERS="" %command%

This indicates that IBus is interfering with keyboard events passed to
Proton/Wine.

Diagnostic information:

The XKB layer works correctly.

Example with xev:

Pressing "é":

    keycode 11
    keysym eacute
    XLookupString gives "é"

Pressing Shift+é:

    keycode 11
    keysym 2

Therefore the hardware input and XKB configuration are correct. The
issue happens later in the input stack, when events are handled by IBus
and passed to Proton/Wine.

Environment:

- Ubuntu 24.04 LTS (Noble)
- GNOME desktop
- Wayland session (also reproduced with X11)
- AMD GPU
- Steam stable client

IBus package:

$ apt policy ibus

ibus:
  Installed: 1.5.29-2
  Candidate: 1.5.29-2
  Repository: Ubuntu 24.04 LTS (noble) main


Workaround:

Adding the following Steam launch option fixes the issue:

XMODIFIERS="" %command%


Expected behaviour:

French AZERTY keyboard keys should be correctly passed to Proton games
and should be bindable in game configuration menus.

Request:

Please consider backporting the relevant upstream IBus fix from newer
IBus releases (1.5.30+) to Ubuntu 24.04 LTS.

Ubuntu 24.04 is an LTS release, but this regression affects
compatibility with applications relying on Wine/Proton input handling. A
targeted SRU/backport would improve compatibility for non-US keyboard
layouts without requiring a full IBus version upgrade.

** Affects: ibus (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ibus keyboard noble non-us-keyboard proton wine

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2161187

Title:
  [Ubuntu 24.04] IBus 1.5.29 breaks French AZERTY accented key input in
  Proton games

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to