Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.3
-
None
Description
A user reported this issue for one of my projects. You can find more information in this bug report over at Gitlab.
Short summary:
- First of all, the issues seems to happen only with some keyboards. The Google keyboard ("Gboard") seems to work fine, however, other keyboards (like AnySoftKeyboard and the Keepass2Android one) not.
- My app uses QQC2. The text inputs in question don't have special flags for the IMH set.
- The behaviour seen is like this: When the user starts writing text in an input field, the first word is always capitalized. One can hit the "shift" key to switch to lower case for one character, however, afterwards, caps lock is turned on again. Only after using a space, this behaviour changes and one can type as usual.
- I also noticed, that exactly the same behaviour occurs when writing the first word of another sentence. So, chances are, that the bug might be related to the Qt.ImhNoAutoUppercase flag.
I haven't tried yet to explicitly unset the Qt.ImhNoAutoUppercase flag for the text inputs in my app, however, as it's working just fine with e.g. Gboard, I would like to not implement this workaround
I am not sure, if this is an issue in Qt or if these 3rd party keyboard apps mentioned need to be changed. Would be great if someone could comment on this.