https://bugzilla.redhat.com/show_bug.cgi?id=1938251
Bug ID: 1938251 Summary: update_preedit_text_with_mode(..., .., ..., IBus.PreeditFocusMode.COMMIT) doesn’t work in Gnome Wayland (works fine in Gnome Xorg) Product: Fedora Version: 34 Status: NEW Component: ibus Assignee: tfujiwar@redhat.com Reporter: mfabian@redhat.com QA Contact: extras-qa@fedoraproject.org CC: i18n-bugs@lists.fedoraproject.org, shawn.p.huang@gmail.com, tfujiwar@redhat.com Target Milestone: --- Classification: Fedora
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.
https://bugzilla.redhat.com/show_bug.cgi?id=1938251
Mike FABIAN mfabian@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mfabian@redhat.com
--- Comment #1 from Mike FABIAN mfabian@redhat.com --- Created attachment 1763034 --> https://bugzilla.redhat.com/attachment.cgi?id=1763034&action=edit Video showing the problem when using ibus-typing-booster in Gnome Wayland
https://bugzilla.redhat.com/show_bug.cgi?id=1938251
--- Comment #2 from Mike FABIAN mfabian@redhat.com --- Created attachment 1763035 --> https://bugzilla.redhat.com/attachment.cgi?id=1763035&action=edit Video showing the problem when using “Vietnamese (telex (m17n))” in Gnome Wayland
https://bugzilla.redhat.com/show_bug.cgi?id=1938251
--- Comment #3 from Mike FABIAN mfabian@redhat.com --- This works fine in Gnome Xorg.
https://bugzilla.redhat.com/show_bug.cgi?id=1938251
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |DUPLICATE Last Closed| |2021-03-25 02:45:51
--- Comment #4 from fujiwara tfujiwar@redhat.com ---
*** This bug has been marked as a duplicate of bug 1942294 ***
https://bugzilla.redhat.com/show_bug.cgi?id=1938251
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |ASSIGNED Resolution|DUPLICATE |--- Summary|update_preedit_text_with_mo |RFE: |de(..., .., ..., |ibus_update_preedit_text_wi |IBus.PreeditFocusMode.COMMI |th_mode() is not |T) doesn’t work in Gnome |implemented in Gnome |Wayland (works fine in |Wayland (works fine in |Gnome Xorg) |Gnome Xorg) Keywords| |Reopened
--- Comment #5 from fujiwara tfujiwar@redhat.com --- 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/
https://bugzilla.redhat.com/show_bug.cgi?id=1938251
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|34 |36
--- Comment #6 from fujiwara tfujiwar@redhat.com --- Seems this is not fixed in Fedora 36.
https://bugzilla.redhat.com/show_bug.cgi?id=1938251
--- Comment #7 from Ben Cotton bcotton@redhat.com --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=1938251
--- Comment #8 from fujiwara tfujiwar@redhat.com --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=1938251
Ludek Smid lsmid@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |EOL Status|ASSIGNED |CLOSED Last Closed|2021-03-25 02:45:51 |2023-05-25 19:32:05
--- Comment #9 from Ludek Smid lsmid@redhat.com --- 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.
i18n-bugs@lists.fedoraproject.org