Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.15.13, 6.4.3, 6.5.0
-
-
f6fb9252c (dev), 322c4c4af (6.5), e5e5ab7bd (6.5.1), 8b3661988 (tqtc/lts-5.15), 699f5253a (tqtc/lts-6.2)
Description
A minimal reproducer is simply a RangeSlider in a QML Window:
import QtQuick import QtQuick.Controls import QtQuick.Layouts ApplicationWindow { width: 400 height: 400 visible: true ColumnLayout { spacing: 100 anchors.centerIn: parent Slider {} RangeSlider { id: mySlider from: 1 to: 100 first.value: 1 second.value: 100 } } }
Any property is irrelevant. They can be any values and they do not matter.
The issue is that a touch is expected to behave in the same way as a mouse click. That is, a mouse click moves the first or second handle to mouse position. and a touch should also moves the first or second handle to finger position. But touch does not move handles.
More related information:
1. Dragging works well, i.e., one can touch the screen, keep pressing and drag the handles.
2. Normal Slider works fine with both touching and dragging. The touching issue only happens to RangeSlider.
Attachments
For Gerrit Dashboard: QTBUG-112945 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
472924,5 | RangeSlider: Don't update position only if mouse/touch is grabbed | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
475479,2 | RangeSlider: Don't update position only if mouse/touch is grabbed | 6.5 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
475512,1 | RangeSlider: Don't update position only if mouse/touch is grabbed | tqtc/lts-5.15 | qt/tqtc-qtdeclarative | Status: ABANDONED | 0 | 0 |
475513,3 | RangeSlider: Don't update position only if mouse/touch is grabbed | tqtc/lts-6.2 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |
475646,3 | RangeSlider: Don't update position only if mouse/touch is grabbed | tqtc/lts-5.15 | qt/tqtc-qtquickcontrols2 | Status: MERGED | -1 | 0 |
475649,3 | RangeSlider: Don't update position only if mouse/touch is grabbed | 6.5.1 | qt/qtdeclarative | Status: MERGED | +2 | 0 |