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

Changing Validators can prevent use of delete/backspace

    XMLWordPrintable

Details

    Description

      1. Run the attached .qml
      2. Click the DoubleValidator, which has a top of 31
      3. Enter 30.5 into the field
      4. Select the IntValidator, which has a top of 30
      5. Press backspace to remove the 5 (which would make the validator technically valid)

      Bug: Cannot remove the text.

      Also occurs if there is no validator and a number like 333 exists - as 33 > 30 it will not allow the deletion of the last 3. A validator should not prevent the use of a backspace/delete.

      Attachments

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

        Activity

          People

            denexter Andrew den Exter (closed Nokia identity) (Inactive)
            dajansen Damian Jansen (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes