Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.6.3, 6.7.3
-
None
-
Windows 11, tried with Qt 5.15.17, Qt 6.6.3, Qt 6.7.3
Description
On Windows with Japanese predictive input enabled (Hiragana selected), the behavior of TextField (or TextEdit?) has changed, probably between Qt 5.x and Qt 6.x.
I have a simple test program with QML as in attachment. If I enter Hiragana input in field1, I will get predictive input. Not selecting any value from the popup and moving focus to field2:
Qt 5.15.17:
- field1 is cleared from the predictive input
- A stationary cursor remains visible in the field though (possibly another bug?)
- onEditingFinished handler says preeditText is what I entered and text is empty as it should because the field is cleared
Qt 6.6.3
- field1 is NOT cleared from the predictive input
- A stationary cursor remains visible in the field though (as with Qt 5.x)
- onEditingFinished handler says preeditText is what I entered and text is empty, although it likely should contain the text entered
So, perhaps with Qt 6.x either predicted text should continue to be cleared or when in onEditingFinished, text property should already contain the preeditText. And in any case the cursor should probably disappear when focus has moved away.