open photo from scope fails on first try

Bug #1389514 reported by Selene ToyKeeper
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
Canonical Devices Products
gallery-app
Fix Released
High
Arthur Mello
gallery-app (Ubuntu)
Fix Released
High
Arthur Mello
Vivid
New
Undecided
Unassigned
gallery-app (Ubuntu RTM)
Fix Released
High
Arthur Mello

Bug Description

The Photos scope and gallery app support a mechanism where a photo can be opened directly in the gallery by tapping 'open' on it in the photos scope. However, this appears to fail on the first try if Gallery hasn't been run before.

Steps to reproduce this:
1. Flash the phone to get a fresh install.
2. Take some photos in the camera app.
3. Navigate to those photos in the Photos scope.
4. Select a photo and tap 'open'.

Expected results: Selected photo opens in the gallery app.

Actual results: Gallery app opens and shows the 'Events' view, but does not open the chosen photo.
On second attempt, the expected results happen.

I suspect that the gallery app may be getting stuck on indexing and thumbnailing the first time, and once that is done things work as expected.

Tags: ota-1 rtm14 ue ww51

Related branches

Revision history for this message
Bill Filler (bfiller) wrote :

Confirmed the bug
The issue seems to be not opening the photo for the first time from the scope, but opening any photo that hasn't been added to the gallery's event view yet. For example, any picture that gets taken with the camera and then tried to open from the scope will show the events view rather than the picture because gallery is still in process of adding the picture to the event view.

Changed in gallery-app:
importance: Undecided → High
status: New → Confirmed
Arthur Mello (artmello)
Changed in gallery-app:
assignee: nobody → Arthur Mello (artmello)
status: Confirmed → In Progress
Bill Filler (bfiller)
tags: added: ota-1
Changed in gallery-app (Ubuntu):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Arthur Mello (artmello)
Olli Ries (ories)
tags: added: touch-2014-11-20
removed: ota-1
Bill Filler (bfiller)
tags: added: ota-1
removed: touch-2014-11-20
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
gallery-app (0.0.67+15.04.20141112-0ubuntu1) vivid; urgency=low

  [ Arthur Mello ]
  * Delay the opening photo process until all media files are loaded
    when called by url handler (LP: #1389514)
  * Switch to events view after a media imported (LP: #1382109)
  * Set the TimeDigitized Exif field for the import date on imported
    files (LP: #1381583)

  [ Ubuntu daily release ]
  * New rebuild forced
 -- Ubuntu daily release <email address hidden> Wed, 12 Nov 2014 22:27:36 +0000

Changed in gallery-app (Ubuntu):
status: In Progress → Fix Released
Olli Ries (ories)
Changed in canonical-devices-system-image:
assignee: nobody → Canonical Devices Products (canonical-devices-products-team)
importance: Undecided → High
milestone: none → r1
status: New → Confirmed
Arthur Mello (artmello)
Changed in gallery-app:
status: In Progress → Fix Released
Bill Filler (bfiller)
Changed in gallery-app:
status: Fix Released → In Progress
Changed in gallery-app (Ubuntu RTM):
importance: Undecided → High
assignee: nobody → Arthur Mello (artmello)
status: New → In Progress
tags: added: ww51
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gallery-app - 0.0.67+15.04.20141216~rtm-0ubuntu1

---------------
gallery-app (0.0.67+15.04.20141216~rtm-0ubuntu1) 14.09; urgency=low

  [ Arthur Mello ]
  * Set the TimeDigitized Exif field for the import date on imported
    files. Do that to make sure imported files shows up on the Event for
    imported day (LP: #1381583)
  * Delay the opening photo process until all media files are loaded
    when called by url handler (LP: #1389514)
  * Load the AlbumEditor without the animation to improve the load time
    (LP: #1398419)

  [ Ubuntu daily release ]
  * New rebuild forced

gallery-app (0.0.67+14.10.20141017-0ubuntu1) utopic; urgency=low

  [ Arthur Mello ]
  * Show header by default on an empty album (LP: #1378367)

  [ Ugo Riboni ]
  * Delete the new empty album if the album editor is closed by clicking
    outside of the album cover (LP: #1234128)
  * Adjust the popover position for the cover pattern editor. (LP:
    #1374016)

  [ Sebastien Bacher ]
  * Use a Binding to set the gettext domain, fixes the import mode
    translations (LP: #1378384)
 -- Ubuntu daily release <email address hidden> Tue, 16 Dec 2014 19:38:14 +0000

Changed in gallery-app (Ubuntu RTM):
status: In Progress → Fix Released
Bill Filler (bfiller)
Changed in gallery-app:
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
status: Confirmed → Fix Released
Revision history for this message
Evan Wang (wsy324) wrote :

Seems there is a regression of this issue on Arale r 29

$ system-image-cli -i
current build number: 29
device name: arale
channel: ubuntu-touch/tangxi-vivid-proposed
last update: 2015-04-30 01:53:21
version version: 29
version ubuntu: 20150429

The behaviors are as same as Actual results described previous, that Gallery app opens and shows the 'Events' view, but does not open the chosen photo.
I did not find a way to re-open this bug, need to report a new one? thanks.

Arthur Mello (artmello)
Changed in gallery-app:
status: Fix Released → Confirmed
status: Confirmed → Fix Released
Revision history for this message
Arthur Mello (artmello) wrote :

Hello Evan. In fact this regression is not arale specific and is presented on rtm images too. We have an MR [0] to fix this problem that is in review process right now. If you could, please, open a bug so we can follow this issue. Thanks for the report.

[0] https://code.launchpad.net/~artmello/gallery-app/gallery-app-open_from_scope_first_time/+merge/257975

Revision history for this message
Evan Wang (wsy324) wrote :

@Arthur, I opened a new one for tracking this issue there, thanks.
https://bugs.launchpad.net/gallery-app/+bug/1451340

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.