PinchArea with Flickable child doesn't work when using MainView

Bug #1358327 reported by Ugo Riboni on 2014-08-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Fix Released
Ugo Riboni
ubuntu-ui-toolkit (Ubuntu)

Bug Description

When using a PinchArea which contains a Flickable in an application that uses MainView, the PinchArea doesn't work and always reports pinch.scale 1.0 when doing pinch gestures.

If I remove the MainView and use only an Item as the root item, the pinch gesture works again.

Related branches

Ugo Riboni (uriboni) wrote :

Simple QML example that reproduces the problem.

Steps to reproduce:
- launch the app
- do a pinch gesture
- look at the console output. you see the pinch reporting 1 all the time

Ugo Riboni (uriboni) wrote :

This was tested on a nexus 4 device with qtdeclarative5-ubuntu-ui-toolkit-plugin: 1.1.1181+14.10.20140806-0ubuntu1

Another strange behaviour I'm seeing is the following:
- do a pinch gesture with 2 fingers: the output reports pinch.scale = 1
- while still leaving the 2 fingers on the glass, put down a third finger and do a pinch gesture with it: the output reports pinch.scale changing

Ugo Riboni (uriboni) on 2014-08-19
tags: added: rtm14
Tim Peeters (tpeeters) on 2014-08-25
Changed in ubuntu-ui-toolkit:
assignee: nobody → Tim Peeters (tpeeters)
assignee: Tim Peeters (tpeeters) → nobody
assignee: nobody → Ugo Riboni (uriboni)
Ugo Riboni (uriboni) on 2014-08-25
Changed in ubuntu-ui-toolkit:
status: New → In Progress
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:ubuntu-ui-toolkit/staging at revision None, scheduled for release in ubuntu-ui-toolkit, milestone Unknown

Changed in ubuntu-ui-toolkit:
status: In Progress → Fix Committed
Tim Peeters (tpeeters) on 2014-09-29
Changed in ubuntu-ui-toolkit:
status: Fix Committed → Fix Released
Zsombor Egri (zsombi) on 2015-07-14
Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments