https://bugs.kde.org/show_bug.cgi?id=506095
Bug ID: 506095 Summary: Input Method Occasionally Breaks in X11 Applications in Wayland Session Classification: Plasma Product: kwin Version First 6.4.0 Reported In: Platform: Arch Linux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: xwayland Assignee: kwin-bugs-n...@kde.org Reporter: einbert-xer...@outlook.com Target Milestone: --- SUMMARY Input method (in my case fcitx5) occasionally fails to follow cursor or submit anything to the input widget, when using an X11 application in a Wayland session. STEPS TO REPRODUCE 1. Use an X11 application (like Google Chrome) under Wayland session for enough long time, switching input method on and off when using it. This is not a reliable reproduce method, yet I have not found any reliable way of triggering such bug. OBSERVED RESULT Input method sometimes failed to work in that X11 application. When it failed to work: - The IME prompt ([en] or [拼] or [あ (Hiragana)]) appears at the left-top corner of the screen. - When typing anything, the candidate prompt also appears at the same left-top corner. - Submitting any word by pressing space or num key doesn't actually submit anything, even if you're focusing in an input-aware widget (like a <textarea> element). - Toggling input method back and forth may or may not solve this issue temporarily. - Toggling input method in a Wayland window and going back to the X11 window, may or may not solve this issue temporarily. - Toggling IME in Wayland combining with cycling through installed IMEs (EN → ZH → JP → EN), may or may not solve this issue temporarily. - Sometimes when cycling through IMEs when it's broken, a different IME prompt may appear following cursor alongside with the broken one at the left-top corner (e.g. [拼] following cursor with [en] at left-top corner). - Any attempt of solving this issue by toggling and cycling through IMEs may break other mitigations that once worked, sometimes including itself. - When it breaks, it breaks for all X11 applications. - Wayland applications appear to be not affected. EXPECTED RESULT Input method should work as usual. SOFTWARE/OS VERSIONS Linux: Arch Linux 6.15.3-arch1-1 KDE Plasma Version: 6.4.0 KDE Frameworks Version: 6.15.0 Qt Version: 6.9.1 ADDITIONAL INFORMATION This could be a Chromium related bug. The only X11 applications I use with IME are Google Chrome and Lark (uses CEF internally). This appears to be an IME status desync bug between a Wayland session and the XWayland server running inside it. -- You are receiving this mail because: You are watching all bug changes.