Index: sources/gui/qml/components/RangeSlider.qml =================================================================== diff -u -r43ffdd5ca0998f06d28b6adeee231a6eec7e7150 -r987056a5fb6a7c2193398ab127030923d23fd7a9 --- sources/gui/qml/components/RangeSlider.qml (.../RangeSlider.qml) (revision 43ffdd5ca0998f06d28b6adeee231a6eec7e7150) +++ sources/gui/qml/components/RangeSlider.qml (.../RangeSlider.qml) (revision 987056a5fb6a7c2193398ab127030923d23fd7a9) @@ -247,13 +247,25 @@ // propagation is not working on drag ! // so it has to be implemented here as well onDragged: { + // Add in the x position of the range rect to account for it moving on the + // main slider line setBound(vMouseEvent.x + _rangeRect.x) - _root.clicked(vMouseEvent) } + onPressed: { + // Add in the x position of the range rect to account for it moving on the + // main slider line + setBound(vMouseEvent.x + _rangeRect.x) + } onClicked: { + // Add in the x position of the range rect to account for it moving on the + // main slider line setBound(vMouseEvent.x + _rangeRect.x) - _root.clicked(vMouseEvent) } + onReleased: { + // Add in the x position of the range rect to account for it moving on the + // main slider line + setBound(vMouseEvent.x + _rangeRect.x) + } } // used loader for performance since it may not always be required. @@ -273,9 +285,15 @@ } onDragged: { - setBound(vMouseEvent.x) + setBound(vMouseEvent.x ) } onClicked: { + setBound(vMouseEvent.x ) + } + onPressed: { + setBound(vMouseEvent.x ) + } + onReleased: { setBound(vMouseEvent.x) }