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

Can't enter negative values in to SpinBox

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 4.8.6
    • None
    • linux 64 bit; Kubuntu 14.10; KDE 4.13.2; locale: LT (Lithuania)

    Description

      I can't enter negative values in to SpinBox (MIN is < 0) by typing (or pasting): when I press minus sign then minus sign appears but then every digit I press is ignored (tried booth EN and LT keyboard layouts). I can only get negative values by scrolling in SpinEdit.

      I tested this with Qt-Designer: created Window, placed SpinEdit and tried change MIN value in PropertyEditor but no success - I only can get negative value by scrolling. But then in Preview I can't type negative values in SpinBox - scroll is only solution.

      I noticed that minus sign entered through keyboard and "standard" minus sign which you get if you scroll to negative values visually differs (screenshot attached: PropertyEditor of SpinBox in Qt-Designer).

      Attachments

        1. minus.png
          19 kB
          Valdas

        Issue Links

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

          Activity

            People

              liaqi Liang Qi
              zmogas Valdas
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes