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

QIntValidator: integer values exceeding top "intermediate" according to validate() func

    XMLWordPrintable

Details

    • 4a23a1fbb5f2317f725fff9df2516335db1fac6c (qt/qtbase/dev) 03cb3405ae8183319be57fec1615791ff829ae4a (qt/qtbase/6.1) 0c7942f5ca6c69f5a2bc18c28aa4eae16ae87c92 (qt/tqtc-qtbase/5.15)

    Description

      QIntValidator::validate returns "Intermediate" for values outside of range which contradicts the documentation at https://doc.qt.io/qt-5/qvalidator.html#details (the first example).

      Steps to reproduce the problem:

      1. Run the attached project
      2. Input 1114
      3. Watch the logged state

      Attachments

        1. qtbug94269.zip
          0.8 kB
          Miika Pernu
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vhilshei Volker Hilsheimer
            miikapernu Miika Pernu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes