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

Can't enter negative values in to SpinBox

XMLWordPrintable

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

      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).

        1. minus.png
          19 kB
          Valdas
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes