0

I am facing same issue as this post on Android: QML TextField text erroneously capitalized on device ... All letters are capitalized for TextField control.

I have mixed TextField elements where for example when I set echoNode to password, the letters are not capitalized (no issue), while fields with normal echoMode get the issue, which makes me confident its under control of either Android or Qt code. I switched to investigate from Android side and found this post My Phone Is Capitalizing Every Word which suggests that this problem occurs only when auto-capitalization is enabled on device... I tested it, turned off auto-capitalization on device and the issue disappeared ... After some investigation I found that most Android apps are build with auto-capitalization aware code, for example this post Why is my Button text forced to ALL CAPS on Lollipop? show solutions with Android Java code .. I wonder if this is a Qt bug or there is something to control it, for example, with QtAndroidExtras classes? while trying to avoid the use of Qt keyboard, I believe/hope there could be a solution from Qt side.
Mohammad Kanan
  • 4,452
  • 10
  • 23
  • 47
  • Does setting `font.capitalization: Font.MixedCase` help? – Mitch Aug 07 '18 at 19:31
  • @Mitch, Thanks for attention, while `Font.AllLowercase` / `Font.AllUppercase` enforces the text to lower/Cap, the only thing `Font.MixedCase` does is it allows you to manually demand lower case, letter by letter .. the default and steady remains Upper! – Mohammad Kanan Aug 07 '18 at 20:06

0 Answers0