ubuntu-apps-bugs team mailing list archive
-
ubuntu-apps-bugs team
-
Mailing list archive
-
Message #09231
[Bug 1536168] Re: gallery app shows non-image formats (tgz)
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/1536168
Title:
gallery app shows non-image formats (tgz)
Status in Canonical System Image:
Fix Committed
Status in gallery-app package in Ubuntu:
Fix Released
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