← Back to team overview

ubuntu-apps-bugs team mailing list archive

[Bug 1568310] Re: BQ E4.5 (OTA-10): gallery-app tries to index thousands of files on the SD card, but should not

 

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

---------------
gallery-app (0.0.67+16.04.20160426-0ubuntu1) xenial; urgency=medium

  * Add linker flag to strip gallery-app binary file (LP: #1570616)
  * Add proper ngettext-style plural forms (LP: #1551149)
  * Check MimeType to verify if it's an image format before adding to
    gallery's collection (LP: #1536168)
  * If there is a .nomedia file ignores all files and dirs bellow the
    current path (LP: #1568310)
  * Stop using C++ Content Hub API and use QML one instead (LP:
    #1568857)
  * Use Settings instead of StateSaver to open gallery always on the
    last tab viewed (LP: #1560159)
  * Wait gallery ends collection processing before loading events model
    on picker mode (LP: #1569844)

 -- Arthur Mello <arthur.mello@xxxxxxxxxxxxx>  Tue, 26 Apr 2016 23:28:09
+0000

** Changed in: gallery-app (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Apps bug tracking, which is subscribed to gallery-app in Ubuntu.
https://bugs.launchpad.net/bugs/1568310

Title:
  BQ E4.5 (OTA-10): gallery-app tries to index thousands of files on the
  SD card, but should not

Status in Canonical System Image:
  Fix Committed
Status in gallery-app package in Ubuntu:
  Fix Released

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/phablet/4BDC-71D9/Maps
  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/phablet/4BDC-71D9/Maps/osm | wc -l
  129236

  it seems that the gallery-app does not honor this file '.nomedia'.

  Any idea for a workaround in the gallery-app?

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1568310/+subscriptions


References