Bug 1989951

Summary: backspace key etc not working in gtk4-demo with the ibus-gtk4 immodule+IME
Product: Red Hat Enterprise Linux 9 Reporter: Jens Petersen <petersen>
Component: ibusAssignee: fujiwara <tfujiwar>
Status: CLOSED CURRENTRELEASE QA Contact: Priyam Gupta <prigupta>
Severity: high Docs Contact:
Priority: unspecified    
Version: 9.0CC: bbarve, eng-i18n-bugs, mfabian, petersen, tfujiwar
Target Milestone: betaKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Other   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1936380 Environment:
Last Closed: 2021-12-03 06:55:27 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:
Bug Depends On: 1936380, 1995528    
Bug Blocks:    

Description Jens Petersen 2021-08-04 11:59:21 UTC
+++ This bug was initially created as a clone of Bug #1936380 +++

Description of problem:
Current ibus-gtk4 not working correctly: gtk4 will become increasingly
important during the RHEL9 lifetime.

How reproducible:
100%

Steps to Reproduce:
    1.Install ibus-gtk4 and gtk4-devel packages.
    2.Enable an input method engine
    3.Run gtk4-demo
    4.Select "Entry" -> "Completion" in the left pane
    5.Click "Run" button in the top
    6.Focus on the input entry and type a language string.
    7.Try to press backspace.

Actual results:
   Backspace key does not working

Expected results:
   Backspace key should work

Additional info:

--- Additional comment from Jens Petersen on 2021-03-10 17:41:07 +08 ---

Thanks, Priyam

It seems related to the ibus-gtk4 immodule.
At least if I disable all IMEs or remove ibus-gtk4
then gtk4 input works normally again.

--- Additional comment from Jens Petersen on 2021-03-10 17:43:14 +08 ---

(I used Text View -> Multiple Views to avoid any other input completion feature.)

Comment 1 fujiwara 2021-08-19 09:27:08 UTC
I will rebase ibus to 1.5.25
The differences between the current RHEL9 ibus and 1.5.25:
1.  Enable sync process in GTK4 (this subject)
2.  Support set_surrounding_text with selection index
3.  Support include directive in the Compose feature
4.  Use · instead of ⎄ to display Multi_key in the Compose preedit
5.  Make Compose preedit less intrusive
6.  Enhance engine search function
7.  Support ClientDisconnectMode in ibus-x11
8.  Run ibus-daemon with the background from ibus-setup
9.  CI enhancements
10. Translation updates

Comment 2 fujiwara 2021-08-19 10:43:36 UTC
Can be moved to #1995528

Comment 4 Priyam Gupta 2021-08-27 13:56:33 UTC
as tested the above test case so moving it to verified.