Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.6.3, 4.7.4, 4.8.5
-
None
-
Windows XP
Windows 7 64-bit Enterprise
Description
Changing the value of the QSpinBox by pressing the arrow or the keyboard, causes the cursor to jump from the right side of the number to the left side, and vice versa. This is not very nice.
One can get around this problem by connecting the valueChanged signal to a slot, in which one clears the focus of the spinBox and then resets the focus again. However this induces other uncomely behaviour, namely that when clicking on the arrow, the activated-state is not shown anymore, and keeping the arrow clicked doesn't result in a continuously in-/decreasing value (which still works with the keyboard).
Attached is a small example demonstrating this problem, included is also the commented-out workaround.