Video and Photos scopes are blank when mediascanner is working.

Bug #1414566 reported by Jean-Baptiste Lallement on 2015-01-26
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
High
Thomas Strehl
mediascanner2 (Ubuntu)
Undecided
Unassigned
mediascanner2 (Ubuntu RTM)
Undecided
Unassigned
unity-scope-mediascanner (Ubuntu)
Undecided
Unassigned
unity-scope-mediascanner (Ubuntu RTM)
Undecided
Unassigned

Bug Description

current build number: 209
device name: krillin
channel: ubuntu-touch/ubuntu-rtm/14.09-proposed

The photo and video scopes are blank when media scanner is working. They don't even show already indexed media nor online content.

Test Case:
Prerequisite: DUT is already loaded with several photos and videos. Photos and videos are visible in their respective scopes.

1. Copy lot of photos to the DUT over MTP (~2k photos)
2. Go to the video scope and check it is not empty
3. Go to the photo scope and check it is not empty

Actual Result
Scopes are empty until mediascanner finishes indexing the new media.

Expected Result
The scopes are usable and display content even if mediascanner is running.

I also did the following experiment:
1. On a PC load a pre-formatted SD card with music, videos and photos
In my case I the following amount of medias:
Musique: 93
Vidéos: 15
Images: 2820

2. Plug the card into the phone
3. Go to the Photo scope and refresh
4. Go to the Video scope and refresh

Result: The scopes are completely empty until mediascanner finishes running. And in this case it was a crash.

Related branches

Changed in canonical-devices-system-image:
importance: Undecided → High
milestone: none → ww09-2015
status: New → In Progress
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mediascanner2 - 0.105+15.04.20150127-0ubuntu1

---------------
mediascanner2 (0.105+15.04.20150127-0ubuntu1) vivid; urgency=low

  [ Jussi Pakkanen ]
  * Send invalidations signals during scans that take a long time so the
    dash gets updated. (LP: #1414566)
 -- Ubuntu daily release <email address hidden> Tue, 27 Jan 2015 14:28:29 +0000

Changed in mediascanner2 (Ubuntu):
status: New → Fix Released
Changed in canonical-devices-system-image:
assignee: nobody → Thomas Strehl (strehl-t)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mediascanner2 - 0.105+15.04.20150204~rtm-0ubuntu1

---------------
mediascanner2 (0.105+15.04.20150204~rtm-0ubuntu1) 14.09; urgency=medium

  [ Jussi Pakkanen ]
  * Retry sqlite queries that are busy. (LP: #1414566)
  * Use creation date as timestamp on pictures that do not have
    exif data.
  * New build-dependency on gdkpixbuf.
 -- Ubuntu daily release <email address hidden> Wed, 04 Feb 2015 15:15:32 +0000

Changed in mediascanner2 (Ubuntu RTM):
status: New → Fix Released
Changed in canonical-devices-system-image:
status: In Progress → Fix Released
Changed in unity-scope-mediascanner (Ubuntu RTM):
status: New → Won't Fix
Changed in unity-scope-mediascanner (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers