touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #77285
[Bug 1453836] [NEW] When changing a slider value inside a nested Flickable, the bottom flickable can steal the mouse events.
Public bug reported:
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.Controls.Slider works around this by using the preventStealing property.
Test Script:
import QtQuick 2.0
import Ubuntu.Components 1.1
Item {
height: units.gu(50)
width: units.gu(50)
Flickable {
anchors.fill: parent
contentWidth: flickInner.width
Flickable {
id: flickInner
width: units.gu(100)
anchors.top: parent.top
anchors.bottom: parent.bottom
contentHeight: inner.height
Item {
id: inner
height: units.gu(100)
Slider {}
}
}
}
}
** Affects: ubuntu-ui-toolkit (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1453836
Title:
When changing a slider value inside a nested Flickable, the bottom
flickable can steal the mouse events.
Status in ubuntu-ui-toolkit package in Ubuntu:
New
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.Controls.Slider works around this by using the preventStealing property.
Test Script:
import QtQuick 2.0
import Ubuntu.Components 1.1
Item {
height: units.gu(50)
width: units.gu(50)
Flickable {
anchors.fill: parent
contentWidth: flickInner.width
Flickable {
id: flickInner
width: units.gu(100)
anchors.top: parent.top
anchors.bottom: parent.bottom
contentHeight: inner.height
Item {
id: inner
height: units.gu(100)
Slider {}
}
}
}
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1453836/+subscriptions
Follow ups
References