When changing a slider value inside a nested Flickable, the bottom flickable can steal the mouse events.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-ui-toolkit (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The slider position change event is not preventing the event from being stolen by a parent if the Flickable is inside another Flickable (somewhere in the tree). It's only looking at the first parent Flickable.
QtQuick.
Test Script:
import QtQuick 2.0
import Ubuntu.Components 1.1
Item {
height: units.gu(50)
width: units.gu(50)
Flickable {
Flickable {
id: flickInner
width: units.gu(100)
Item {
id: inner
}
}
}
}
Related branches
- Cris Dywan: Needs Fixing
- PS Jenkins bot: Needs Fixing (continuous-integration)
-
Diff: 135 lines (+35/-25)2 files modifiedmodules/Ubuntu/Components/Slider.qml (+2/-20)
tests/unit_x11/tst_components/tst_slider.qml (+33/-5)