Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
4.3.3
-
None
Description
QSlider can get the valueChanged signal before sliderPressed.
This happens when pressing outside the slider thumb, so that it moves in a big jump.
It would perhaps be expected that sliderPressed was emitted before the valueChanged signal.
When pressing on top of the slider thumb, and then moving the slider thumb the signals are emitted in the order of: sliderPressed, sliderMoved, valueChanged is emitted.
It would perhaps be expected that these signals were emitted in a more consistent way.
A practical case for the use of sliderPressed would be to record the previous value of the slider before the value was changed when valueChanged is emitted. This is not possible to do by using the proposed signals. Currrently it can be done by using events instead.