[desktop] Swipe to navigate through photos does not work correctly using a touchpad

Bug #1288695 reported by Ara Pulido
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gallery-app
Fix Released
Critical
Arthur Mello
gallery-app (Ubuntu)
Fix Released
Critical
Arthur Mello

Bug Description

I am testing gallery-app in trusty using an Apple Magic Touchpad.

1) open the app using DESKTOP_MODE=1
2) Go to the first picture
3) Swipe from right to left to go to the next picture. Result: Nothing happens
4) Swipe from left to right just in case. Result: nothing happens
5) Go to the 2nd picture using clicking with the mouse
6) On the 2nd picture swipe from right to left to go to the next picture. Result: it navigates to the previous picture instead (counter intuitive)

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gallery-app 0.0.67+14.04.20140214-0ubuntu1
ProcVersionSignature: Ubuntu 3.11.0-15.25-generic 3.11.10
Uname: Linux 3.11.0-15-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Mar 6 12:38:04 2014
InstallationDate: Installed on 2013-06-17 (261 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
SourcePackage: gallery-app
UpgradeStatus: Upgraded to trusty on 2014-01-20 (44 days ago)

Related branches

Revision history for this message
Ara Pulido (ara) wrote :
Ara Pulido (ara)
tags: added: desktop-touch
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gallery-app (Ubuntu):
status: New → Confirmed
Ara Pulido (ara)
summary: - [desktop] Swipe to navigate through photos does not work correctly
+ [desktop] Swipe to navigate through photos does not work correctly using
+ a touchpad
Revision history for this message
Bill Filler (bfiller) wrote :

confirming the broken behavior
clicking and dragging with the mouse works, but just swiping does not work correctly to navigate the photos. It should behave exactly as it does on the phone. Swiping from right to left should navigate forward. Swiping from left to right should navigate backwards.

Changed in gallery-app (Ubuntu):
importance: Undecided → High
assignee: nobody → Arthur Mello (artmello)
importance: High → Critical
Changed in gallery-app:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Arthur Mello (artmello)
milestone: none → 14.03
Changed in gallery-app (Ubuntu):
milestone: none → ubuntu-14.03
Arthur Mello (artmello)
Changed in gallery-app:
status: Confirmed → In Progress
Changed in gallery-app (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Arthur Mello (artmello) wrote :

We are able to reproduce the problem using a simple ListView on QML with Qt 5.2. The two fingers swipe generates a wheelEvent on Qt and the support for moving between items of a ListView using this seems to be broken. The problem only happens when the snapMode of the ListView is set to SnapToItem, and that is the case of the component responsible to show photos/videos on gallery-app.
While that is not fixed on Qt, we will grab the wheelEvent on QML and let gallery handle that.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gallery-app - 0.0.67+14.04.20140408.1-0ubuntu1

---------------
gallery-app (0.0.67+14.04.20140408.1-0ubuntu1) trusty; urgency=low

  [ Bill Filler ]
  * skip broken test until root cause can be found

  [ Arthur Mello ]
  * Make sure that album cover will be not behind header at album edit
    screen (LP: #1294291)
  * Add unittest to check if only videos on the correct path are beeing
    added to gallery on device
  * Add an overlay play icon over Video preview on media navigation (LP:
    #1294282)
  * Apply a similar workaround to the one suggested by Zsombor to work
    around bug #1296832 to temporarily replace MouseAreas within
    PinchAreas (LP: #1296832, #1288695)

  [ Ugo Riboni ]
  * Fix album navigation, allowing to page all the way to the last page,
    and to close the album by paging to the cover. (LP: #1287355)
  * Apply a similar workaround to the one suggested by Zsombor to work
    around bug #1296832 to temporarily replace MouseAreas within
    PinchAreas (LP: #1296832, #1288695)
  * fix autopilot test

  [ Leo Arias ]
  * Properly override the toolkit toolbar autopilot helper.
  * On the autopilot helpers to click a toolbar button, check that the
    toolbar is opened first. (LP: #1302706)
 -- Ubuntu daily release <email address hidden> Tue, 08 Apr 2014 18:51:30 +0000

Changed in gallery-app (Ubuntu):
status: In Progress → Fix Released
Arthur Mello (artmello)
Changed in gallery-app:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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