Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.3.1, 5.9.1
-
Win7 x64, Qt Creator 3.1.2
Sony Xperia Z Ultra (C6802) with Android 4.4.2
Samsung Galaxy Note 3 with Android 4.4.2
-
-
fcfee98f62b8a8b8c3b1ac11cbb23620788a586c (qtbase) bb199cc8ad4111808260f6255312b08c7d81dcbc (qtdeclarative)
Description
import QtQuick 2.2 TextInput { inputMethodHints: Qt.ImhDialableCharactersOnly inputMask: "+7(999)999-99-99;#" onCursorPositionChanged: console.log(cursorPosition) }
Cursor doesn't want to jump over separators '(', ')' and "-". So user have to retype characters placed after separators.
On Windows it works properly.
Attachments
For Gerrit Dashboard: QTBUG-40943 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
151371,5 | QLineEdit: Don't move the cursor after internalInsert() has done so | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |
151374,6 | QQuickTextInput: Don't move the cursor after internalInsert() has done so | 5.9 | qt/qtdeclarative | Status: MERGED | +2 | 0 |