Bug 2087031

Summary: [backport] gtk4 should prefer Wayland text input protocol over ibus-gtk4 immodule
Product: Red Hat Enterprise Linux 9 Reporter: Jens Petersen <petersen>
Component: gtk4Assignee: Carlos Garnacho <cgarnach>
Status: CLOSED ERRATA QA Contact: Radek Duda <rduda>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 9.0CC: eng-i18n-bugs, mclasen, otte, tpelka, tpopela
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gtk4-4.4.1-2.el9, gnome-settings-daemon-40.0.1-7.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-15 10:37:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jens Petersen 2022-05-17 07:32:06 UTC
Description of problem:
For Gnome 42 (Fedora 36) gtk4 was fixed to default to use
the Wayland input protocaol rather than the ibus-gtk4 immodule for Wayland sessions.
This bug is to request backporting these changes to RHEL9.

See https://gitlab.gnome.org/GNOME/gtk/-/issues/4699 for details.

I am not completely sure which 4.6.x release this landed in.

How reproducible:
100%

Steps to Reproduce:
1. install ibus-gtk4
2. start gtk4-demo-application
3. try to input Korean with ibus-hangul

Actual results:
3. it is not possible to enter newlines, delete input with backspace, or move the cursor with arrow keys in Hangul input mode.

Expected results:
3. Gnome Wayland should prefer the Wayland input protocol over the ibus gtk4 immodule.

Additional info:
Not that for this reason we currently don't ship ibus-gtk4 in RHEL9,
however we need it to enable ibus input in gtk4 apps under Gnome Xorg,
so fixing this is a prerequisite for shipping ibus-gtk4 in RHEL9.

Comment 6 Radek Duda 2022-07-29 10:59:47 UTC
I reproduced the bug. Then tried with new versions: 'Enter', 'Backspace' and arrow keys work now as should.

Comment 11 errata-xmlrpc 2022-11-15 10:37:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (gtk4 bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:8218