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

QInputDialog::getInt() does not update state of Ok button when scrolling

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.10.0
    • None

    Description

      Compile and start the attached project. The input dialog accepts integers from 1 to 100.

      Now do the following steps to reproduce the problem:

      1. Enter invalid number 0 -> Ok button gets disabled.

      2. Use Up arrow to increase the entered value -> number is incremented to 1 -> Ok button gets enabled.

      3. Enter invalid number 0 again -> Ok button gets disabled again.

      4. Use mouse wheel to increase the value again -> Ok button stays disabled.

       

      Maybe other static methods of QInputDialog are effected too.

      Attachments

        1. InputDialog.zip
          0.7 kB
          Marc Langenbach
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            mlangen Marc Langenbach
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes