Video and Photos scopes are blank when mediascanner is working.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Thomas Strehl | ||
mediascanner2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
mediascanner2 (Ubuntu RTM) |
Fix Released
|
Undecided
|
Unassigned | ||
unity-scope-mediascanner (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
unity-scope-mediascanner (Ubuntu RTM) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
current build number: 209
device name: krillin
channel: ubuntu-
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
- PS Jenkins bot (community): Approve (continuous-integration)
- Marcus Tomlinson (community): Approve
-
Diff: 58 lines (+27/-0)2 files modifiedsrc/daemon/scannerdaemon.cc (+12/-0)
src/mediascanner/MediaStore.cc (+15/-0)
- Pete Woods (community): Approve
- dobey (community): Approve
- Marcus Tomlinson (community): Approve
-
Diff: 408 lines (+177/-15)12 files modifiedCMakeLists.txt (+1/-0)
debian/changelog (+18/-0)
debian/control (+2/-0)
src/daemon/CMakeLists.txt (+4/-2)
src/daemon/MetadataExtractor.cc (+44/-7)
src/daemon/SubtreeWatcher.cc (+2/-0)
src/daemon/scannerdaemon.cc (+12/-0)
src/mediascanner/MediaStore.cc (+5/-1)
src/mediascanner/internal/sqliteutils.hh (+14/-1)
src/mediascanner/mozilla/fts3_porter.c (+23/-4)
test/basic.cc (+25/-0)
test/test_metadataextractor.cc (+27/-0)
Changed in canonical-devices-system-image: | |
importance: | Undecided → High |
milestone: | none → ww09-2015 |
status: | New → In Progress |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Thomas Strehl (strehl-t) |
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 |
This bug was fixed in the package mediascanner2 - 0.105+15. 04.20150127- 0ubuntu1
--------------- 15.04.20150127- 0ubuntu1) vivid; urgency=low
mediascanner2 (0.105+
[ 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