Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.13.2
-
bd7ce75f26ae646176b22310c8cdbf568c7516dd (qt/qtdeclarative/5.14)
Description
To reproduce, run attached application. It sets the same string as input mask and every time it emits a change signal, moves the cursor (if there) back to beginning.
QQuickTextInputPrivate::parseInputMask adds the "; " into the mask and then this will compare against a different value:
void QQuickTextInput::setInputMask(const QString &im) { Q_D(QQuickTextInput); if (d->inputMask() == im)
Perhaps it could only compare up to the semicolon if im does not contain a semicolon.
Attachments
For Gerrit Dashboard: QTBUG-80190 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
283408,2 | Do not emit inputMaskChanged when setting the same input mask | 5.14 | qt/qtdeclarative | Status: MERGED | +2 | 0 |