cip / WikiOnBoard

Offline reader for zim files, in particular the wikipedia, for mobile devices. It is based on QT and zimlib. It is cross-platform and supports Symbian, Maemo, Linux and Windows based devices.
http://cip.github.com/WikiOnBoard/
15 stars 2 forks source link

Auto-uppercase problem in search field #67

Open cip opened 12 years ago

cip commented 12 years ago
  1. QML version: (4.7.4) Auto-uppercase works after app startup, but stops working.
  2. Also with Widget version (1.1.13) problems with qt 4.7.4. (Behavor however different, cannot always be reproduced). An option is to don't fix in 1.x, as Symbian^3 can switch to 2.x if available, while older devices are probabably not affected by the issue
cip commented 12 years ago

Effect: Virtual keyboard stays alway s in Abc mode. This means that always uppercase characters are entered, after manually switching to lower case, after entering one character automatically switched to uppercase again. This error state is only left if application is restarted.

Problem appearantly occurs if:

  1. Articlelist clicked while virtual qwerty keyboard open Not directly related to closing of virtual keyboard (which happens on click), because disabling article page prevents closing, but problem still occurs. However in other test app (textfield+ list), which does not gain focus, problem does not occur, only affected by 2.
  2. App switched to background while virtual (qwerty?) keyboard open
cip commented 12 years ago

Workaround in commit 8212afa3fc4a8181e35f19f0e4a3a76e71cb43e0. for QML version Force inputMethodHints to Qt.ImhNoAutoUppercase while length of input >0. Behavior is pretty. Difference to standard behavior is that now after manual switching to upper case on later chars, it stays in uppercase mode, while standard behavior is that it switches to lower case after one character. Would make sense to emulate this behavior.

cip commented 12 years ago

On Nokia N8 Belle with WikiOnBoard 1.1.14 no issue with autouppercase observed. (Only an Anna+Qt 4.7.4 issue?)