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

QDoubleSpinBox with suffix >1 character, backspace key handled wrong

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.0 RC2
    • None
    • WIndows
    • All

    Description

      A QDoubleSpinBox with a suffix whose length is greater than one character and the a cursor is at the end, pressing the backspace is handled wrong as it does nothing and the cursor does not move (very frustrating). 

      In contrast, when a suffix is one character and the cursor is at the end, pressing the backspace moves to the end of double value, skipping the suffix text, ready to edit the double value as expected.

      Related: https://stackoverflow.com/questions/40756382/editing-behavior-of-backspace-key-of-qdoublespinbox

      Would appreciate a fix for the native QDoubleSpinBox so it easily scales across and entire application rather than a subclass fix.

      Attachments

        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
            sbisque Stephen M. Bisque
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes