← Back to team overview

touch-packages team mailing list archive

[Bug 1536168] Re: gallery app shows non-image formats (tgz)

 

** Changed in: canonical-devices-system-image
   Importance: Undecided => Medium

** Changed in: canonical-devices-system-image
       Status: New => Confirmed

** Changed in: canonical-devices-system-image
     Assignee: (unassigned) => Bill Filler (bfiller)

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

Title:
  gallery app shows non-image formats (tgz)

Status in Canonical System Image:
  Confirmed
Status in gallery-app package in Ubuntu:
  New

Bug description:
  current build number: 41
  device name: krillin
  channel: ubuntu-touch/rc/bq-aquaris.en

  Test Case:
  1. Create a tgz file in the Pictures directory
  $ tar czf ~/Pictures/test.tgz ~/Pictures/com.ubuntu.camera/
  2. Open the gallery app

  Actual Result:
  The gallery app shows a blank preview corresponding to the tgz, if you tap on it, there is a black screen and the spinner keeps spinning.
  If there is an SD Card, the gallery tries to read tgz from it even if they are not in a Pictures directory:
  file:///usr/share/click/preinstalled/com.ubuntu.gallery/2.9.1.1260/rc/qml/MediaViewer/SingleMediaViewer.qml:157:17: QML Image: Failed to get image from provider: image://photo/file:///media/phablet/Médias SDc/backup/phablet.20150702.tgz

  
  Expected Result
  the tgz is not visible in the gallery

  mediascanner correctly identifies the file as not being a video or audio file 
  New file was created: /home/phablet/Pictures/test.tgz.
  Error when adding new file: File /home/phablet/Pictures/test.tgz is not audio or video

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


References