Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
4.8.x, 5.5.0
-
None
-
KDE
Description
Especially when used for editing integers in model/view, QSpinBox should behave like users expect from spreadsheets: if you clear the text and press Enter, then you expect to see 0, not the old value re-appear.
Testcase:
examples/widgets/itemviews/spinboxdelegate/spinboxdelegate
double-click in the cell that says '6'
type Delete
type Enter
-> 6 reappears, unexpectedly.
Attachments
Issue Links
- relates to
-
QTBUG-55249 After calling QSpinBox::clear, the minimum value is not enforced when manually inputting a number, until acceptable number is entered once
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTBUG-47285 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
121767,3 | QSpinBox: fixup empty to 0, when possible. | dev | qt/qtbase | Status: ABANDONED | -1 | 0 |