BQ E4.5 (OTA-10): gallery-app tries to index thousands of files on the SD card, but should not
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Bill Filler | ||
gallery-app (Ubuntu) |
Fix Released
|
High
|
Arthur Mello |
Bug Description
The app gallery did not started anymore in my BQ E4.5, it was just
sitting there and loading .... for hours without coming to an end. I investigated
it with strace and lsof and saw the app was searching through all the
100.000 files (OSM tiles) on my SD card. While the SD card managment app
supports placing a file there with the name '.nomedia' so the SD Card
app ignores all files and dirs below:
$ ls -la /media/
total 840900
drwxr-xr-x 3 phablet phablet 4096 Apr 7 09:25 .
drwxr-xr-x 8 phablet phablet 4096 Jan 1 1970 ..
-rw-r--r-- 1 phablet phablet 0 Apr 4 14:58 .nomedia
drwxr-xr-x 19 phablet phablet 4096 Apr 4 14:08 osm
$ find /media/
129236
it seems that the gallery-app does not honor this file '.nomedia'.
Any idea for a workaround in the gallery-app?
Related branches
- Renato Araujo Oliveira Filho (community): Approve
- PS Jenkins bot: Needs Fixing (continuous-integration)
-
Diff: 20 lines (+9/-1)1 file modifiedsrc/media/media-monitor.cpp (+9/-1)
summary: |
- BQ E4.5 (OTA-9.1): gallery-app tries to index thousands of files on the + BQ E4.5 (OTA-10): gallery-app tries to index thousands of files on the SD card, but should not |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Bill Filler (bfiller) |
Changed in gallery-app (Ubuntu): | |
importance: | Undecided → High |
assignee: | nobody → Arthur Mello (artmello) |
Changed in canonical-devices-system-image: | |
milestone: | none → 11 |
importance: | Undecided → High |
status: | New → Confirmed |
tags: | added: gallery |
Changed in canonical-devices-system-image: | |
status: | Confirmed → In Progress |
Changed in gallery-app (Ubuntu): | |
status: | Confirmed → In Progress |
tags: | added: system-apps-11 |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.