Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.5.1
-
None
-
-
Next
Description
I have a 'close' button next to my search-field, when I click that it empties the text and it also hides and disables the entire tree for the search, that the texfield is part of.
The action of setting the visible and the enabled properties to false of the TextField (and the components that contain it) is no problem if you have no text or just pressed space.
But if you are in the middle of typing a word, the cursor will stop blinking and the UI freezes. After a while the Android OS asks me to wait longer or kill the app.
I figured out that I can avoid this issue by prefixing the change of visibility / enabledness with two lines:
Qt.inputMethod.commit();
Qt.inputMethod.hide();
This likely means that the Android input method needs a fix to do this automatically.