PinchArea with Flickable child doesn't work when using MainView

Bug #1358327 reported by Ugo Riboni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Fix Released
Undecided
Ugo Riboni
ubuntu-ui-toolkit (Ubuntu)
Fix Released
Undecided
Unassigned
Vivid
New
Undecided
Unassigned

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.

Tags: rtm14

Related branches

Revision history for this message
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

Revision history for this message
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)
tags: added: rtm14
Tim Peeters (tpeeters)
Changed in ubuntu-ui-toolkit:
assignee: nobody → Tim Peeters (tpeeters)
assignee: Tim Peeters (tpeeters) → nobody
assignee: nobody → Ugo Riboni (uriboni)
Ugo Riboni (uriboni)
Changed in ubuntu-ui-toolkit:
status: New → In Progress
Revision history for this message
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)
Changed in ubuntu-ui-toolkit:
status: Fix Committed → Fix Released
Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.