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

QDoubleValidator produces wrong validation results

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P4: Low P4: Low
    • None
    • 4.7.2, 4.7.3
    • None
    • Windows 7, XP

      The following described problems are probably partly related to QTBUG-14935 which was fixed for Qt 4.7.2 (regression?):

      A simple double validator like this

      QDoubleValidator(0., 999., 0, NULL)

      • returns "intermediate" instead of "invalid" for "121234"
      • returns "intermediate" instead of "invalid" for "12.1234" for german locale
      • returns "intermediate" instead of "invalid" for "12,1234" for C-locale

      See the attached example for more info.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            yahi Yücel Ahi
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes