Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-35128

QQuickTextInput does not call fixup() on its validator when in intermediate state

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.2.1
    • 5.2.0 Beta1
    • None
    • N/A
    • qtdeclarative/stable: 956ee62cc24c76569ac49ab209f5f889899c53d6

      When QQuickTextInput is accepted or loses focus, it does:

          if (hasAcceptableInput(m_text) || fixup()) {
              // ...
          }
      

      Notice that it calls QQuickTextInputPrivate::hasAcceptableInput(). Unlike the public QQuickTextInput::hasAcceptableInput() that returns a boolean value, the private version returns a ValidatorState instead. It never calls fixup() when the validator reports that it's in "intermediate" state, because the value of IntermediateInput is 1.

        For Gerrit Dashboard: QTBUG-35128
        # Subject Branch Project Status CR V

            Unassigned Unassigned
            jpnurmi J-P Nurmi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes