@@ -247,17 +247,21 @@ Item {
247 id: hoverArea
247 id: hoverArea
248 anchors { fill: panel; rightMargin: -1 }
248 anchors { fill: panel; rightMargin: -1 }
249 hoverEnabled: true
249 hoverEnabled: true
250+ propagateComposedEvents: true
250 onContainsMouseChanged: {
251 onContainsMouseChanged: {
251 if (containsMouse) {
252 if (containsMouse) {
252 root.switchToNextState("visibleTemporary")
253 root.switchToNextState("visibleTemporary")
256+ onPressed: mouse.accepted = false;
256 // We need to eat touch events here in order to make sure that
258 // We need to eat touch events here in order to make sure that
257 // we don't trigger both, the dragArea and the hoverArea
259 // we don't trigger both, the dragArea and the hoverArea
258 MultiPointTouchArea {
260 MultiPointTouchArea {
259− anchors.fill: parent
261+ anchors { top: parent.top; right: parent.right; bottom: parent.bottom }
260 mouseEnabled: false
263 mouseEnabled: false
264+ enabled: parent.enabled
@@ -315,15 +319,17 @@ Item {
315 target: panel
319 target: panel
322+ PropertyChanges { target: hoverArea; enabled: false }
320 name: "visibleTemporary"
325 name: "visibleTemporary"
321 extend: "visible"
326 extend: "visible"
322− when: howerArea.containsMouse
327+ when: hoverArea.containsMouse
323 PropertyChanges {
328 PropertyChanges {
324 target: root
329 target: root
325 autohideEnabled: true
330 autohideEnabled: true
332+ PropertyChanges { target: hoverArea; enabled: true }
329 name: "teasing"
335 name: "teasing"