Bug 2237486
Summary: | No preedit styling at all in Plasma Wayland, not even underline | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mike FABIAN <mfabian> | ||||
Component: | ibus | Assignee: | fujiwara <tfujiwar> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 39 | CC: | i18n-bugs, mfabian, shawn.p.huang, tfujiwar | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | ibus-1.5.29~rc1-3.fc39 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2023-09-18 00:15:43 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Mike FABIAN
2023-09-05 17:19:36 UTC
Created attachment 1987076 [details]
Video showing the problem
Using
- ibus-m17n with hi-itrans
- ibus-anthy
- ibus-typing-booster
One can also see in the video that switching between input method, no matter whether with Super+space or with the panel menu is super slow. After a switch from one input method to another, the icon of the old input method in the panel remains for a long time. Even the preedit of the old input method sometimes lingers for a long time. It seems like sometimes a focus change is needed to trigger the input method change. (In reply to Mike FABIAN from comment #2) > One can also see in the video that switching between input method, no matter > whether with Super+space or with the panel menu is super slow. > After a switch from one input method to another, the icon of the old input > method in the panel remains for a long time. Even the preedit of the old > input method sometimes lingers for a long time. It seems like sometimes a > focus change is needed to trigger the input method change. It's another know issue. Since Wayland does not support a global keybinding, ibus-daemon checks the key events for Super-space and sends a D-Bus signal to the panel but there are too many key events of Super-space and some D-Bus signals are ignored for key release events. The workaround is to type any keys after you type Super-space. I thought this would be a know issue of a Wayland specification likes https://gitlab.gnome.org/GNOME/mutter/-/issues/153 But IBus has the different behavior between GNOME and Plasma and I now noticed input-method protocol v1 supports the preedit style according to text-input v1 protocol. GNOME uses text-input v3 and seems the preedit style was deleted in v3. Interesting. Thus, this issue can be fixed with input-method v1 in Plasma Wayland. Now I added IBusAttrPreedit which implements https://github.com/ibus/ibus/wiki/Wayland-Colors https://github.com/fujiwarat/ibus/blob/wayland-preeedit-color/src/ibusattribute.h#L97 Wayland text-input protocol V1 provides a few semantics and IBus consolidates IBUS_ATTR_PREEDIT_ERROR_SPELLING and IBUS_ATTR_PREEDIT_ERROR_COMPOSE. https://gitlab.freedesktop.org/wayland/wayland-protocols/-/blob/main/unstable/text-input/text-input-unstable-v1.xml?ref_type=heads#L251 FEDORA-2023-0aec0b18ac has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-0aec0b18ac FEDORA-2023-0aec0b18ac has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-0aec0b18ac` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-0aec0b18ac See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-0aec0b18ac has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. |