Bug 1936774 - forward_key_event() does not work in Gnome Wayland
Summary: forward_key_event() does not work in Gnome Wayland
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-shell
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Florian Müllner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-09 06:29 UTC by Mike FABIAN
Modified: 2021-03-18 07:18 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description Mike FABIAN 2021-03-09 06:29:59 UTC
I installed Fedora-Workstation-Live-x86_64-34-20210308.n.0.iso in qemu and logged into Gnome Wayland.

Then added ibus-typing-booster to the input methods.

Then opened gedit and typed using ibus-typing-booster.

1) When finishing typing a word and committing it by typing a space, the space is not inserted. So one has to type space twice after each word.

2) When typing a word and then going back using "arrow left" to the left side of the preedit and then typing one more arrow left, the cursor is at the right side of the committed word

When opening the setup tool and selecting the option

    ✅ Use a workaround for a bug in Qt im module

It works better because when this option is used, ibus-typing-booster tries to avoid forward_key_event() as much as possible. 

- Now when typing a word and committing with space, the space is inserted.

- When typing a word and going back using using “arrow left” to the left side of the preedit and then typing one more arrow left, the cursor is one character to the left of the right side of the committed word.

Comment 1 Mike FABIAN 2021-03-09 07:27:44 UTC
Similar problem with ibus-hangul:

Type "a " and you get “ㅁ” but it should be “ㅁ ”, i.e. the space is missing.

Comment 2 Peng Wu 2021-03-18 07:18:06 UTC
Reported this issue to mutter upstream.

URL: https://gitlab.gnome.org/GNOME/mutter/-/issues/1709


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