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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes