Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1938251 - RFE: ibus_update_preedit_text_with_mode() is not implemented in Gnome Wayland (works fine in Gnome Xorg)
Summary: RFE: ibus_update_preedit_text_with_mode() is not implemented in Gnome Wayland...
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: fujiwara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-12 15:26 UTC by Mike FABIAN
Modified: 2021-03-31 04:41 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-03-25 02:45:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Video showing the problem when using ibus-typing-booster in Gnome Wayland (146.59 KB, video/webm)
2021-03-12 15:29 UTC, Mike FABIAN
no flags Details
Video showing the problem when using “Vietnamese (telex (m17n))” in Gnome Wayland (177.65 KB, video/webm)
2021-03-12 15:32 UTC, Mike FABIAN
no flags Details

Description Mike FABIAN 2021-03-12 15:26:09 UTC
I installed Fedora-Workstation-Live-x86_64-34-20210308.n.0.iso into qemu.

Add the ibus-typing-booster input method in the Gnome control center and
also add the “Vietnamese (telex (m17n))” input method from ibus-m17n.

Both input methods use 

   update_preedit_text_with_mode(..., .., ..., IBus.PreeditFocusMode.COMMIT)

and this problem can be reproduced with either of them.

Open a gedit and a gnome-terminal.

Select ibus-typing-booster in the Gnome panel and type “test”.
The word “test” is underlined, indicating that it is in preedit and not yet committed to gedit.

Now click on gnome-terminal to change the focus to gnome-terminal.

The string “test” vanishes from gedit. It should *not* vanish, it should
be committed i.e. the underline under “test” should vanish and the string
“test” should be in gedit.

Same problem with the Vietnamese (telex (m17n)) input method.

Select it in the Gnome panel.

Type “a” into gedit.  The “a” is underlined because it is in preedit.
Click on gnome-terminal to change the focus to gnome-terminal.
The “a” vanishes. Here as well the “a” should be commited to gedit, i.e.
the underline should disappear and the “a” should remain in gedit.

Comment 1 Mike FABIAN 2021-03-12 15:29:51 UTC
Created attachment 1763034 [details]
Video showing the problem when using ibus-typing-booster in Gnome Wayland

Comment 2 Mike FABIAN 2021-03-12 15:32:25 UTC
Created attachment 1763035 [details]
Video showing the problem when using “Vietnamese (telex (m17n))” in Gnome Wayland

Comment 3 Mike FABIAN 2021-03-12 15:32:49 UTC
This works fine in Gnome Xorg.

Comment 4 fujiwara 2021-03-25 02:45:51 UTC

*** This bug has been marked as a duplicate of bug 1942294 ***

Comment 5 fujiwara 2021-03-31 04:41:46 UTC
Sorry, this is not a regression but a known issue.
ibus_update_preedit_text_with_mode() has not been implemented in GNOME Wayland yet.
pwu has the patch of the API and I have another patch over his one.

https://pwu.fedorapeople.org/wayland/preedit_with_mode_v6/

https://copr.fedorainfracloud.org/coprs/pwu/wayland/packages/


Note You need to log in before you can comment on or make changes to this bug.