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: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus
Version: 36
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: 2023-05-25 19:32 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-25 19:32:05 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/

Comment 6 fujiwara 2022-05-10 06:24:04 UTC
Seems this is not fixed in Fedora 36.

Comment 7 Ben Cotton 2023-04-25 18:22:32 UTC
This message is a reminder that Fedora Linux 36 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '36'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 36 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 8 fujiwara 2023-04-28 11:52:54 UTC
I think currently the preedit is committed in the current context but not the next context with the focus change.
ibus_update_preedit_text_with_mode() is not implemented yet but the behavior seems to be preferred by ibus-typing-booster.

Comment 9 Ludek Smid 2023-05-25 19:32:05 UTC
Fedora Linux 36 entered end-of-life (EOL) status on 2023-05-16.

Fedora Linux 36 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


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