Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.13.0
-
None
-
OS:Windows 10 Home 64bit
System Configuration:
[HW Information]
CPU:AMD Eng Sampleļ¼100-000000084-40-37/21-y
SO-DIMM1:Micron 4G
SO-DIMM2:Micron 4G
HDD:Toshiba 3T
Description
Double click message will not into the
1. -> onExited : handleHovered = false
2. -> onPressed will into if (handleHovered) {...} even we release the handle
hovered.
3. -> Then will cause not updateHandlePosition( ) so, this process will not
post this message to Slider :: onSliderValueChanged() {..}
4. -> So click will not change the UI
[Fix Solution]
6. After change the target add below code (line "b"), it can get
positive result
File %QT path%:\Qt\Tools\QtCreator\bin\qml\QtQuick\Controls\Slider.qml
onReleased: {
updateHandlePosition(mouse, Settings.hasTouchScreen)
// If we don't update while dragging, this is the only
// moment that the range is updated.
if (!slider.updateValueWhileDragging)
range.position = __horizontal ? fakeHandle.x : fakeHandle.y;
clickOffset = 0
preventStealing = false
a. // should release the hovered in all case.
b. handleHovered = false
}
Attachments
Issue Links
- duplicates
-
QTBUG-80590 Slider : handleHovered = true but not hovered will not update slider data
-
- Closed
-