Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.7.2
-
Arch
Gnome 46.4 (Wayland / Xorg)
qt6-examples 6.7.2
qt6-base 6.7.2
ibus 1.5.30
mozc 2.30.5544.102
Description
Hello,
There is a bug in a software I use (Anki build with Qt 6.6.2 / PyQt 6.6.1) which is reproducible with one of the Examples from qt6-examples in Qt Creator 14.0.1.
Summary:
When typing japanese with IBus / Mozc, deleted characters appear again when switching languages (or just pressing the SUPER key).
Steps to reproduce:
1) Open QtCreator
2) In Examples, select from the drop down menu 6.7.2 (System)
3) From the application examples, pick "Recipe Browser"
4) In assets/pages/burger.html, after <body> in Line 12, add the following lines:
<div contenteditable="true">
<p>Edit me!</p>
</div>
5) Now start the application and and type characters in Japanese in the div that was just added. Delete all characters and switch back to English.
Result: The last deleted character suddenly appears again.
Expectation: Already deleted characters should not suddenly appear again.
This bug seems to be Qt6 specific. I couldn't reproduce it with Qt 5.15.14
See also https://forums.ankiweb.net/t/deleted-character-appears-again-when-switching-input-sources/47961
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-127995 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
583802,1 | ibus: clear preedit when HidePreeditText | dev | qt/qtbase | Status: NEW | 0 | 0 |