galley-app is removing media files from disk
Bug #1295344 reported by
Arthur Mello
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gallery-app |
Fix Released
|
Critical
|
Arthur Mello | ||
gallery-app (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
We verified that in some scenarios, usually during situations that could generated a inconsistency between gallery database and the files found by the gallery monitoring process, gallery is removing from media files from disk. Checking the code, we see that when gallery check this kind of inconsistency it uses a destroy function to remove the file from the database/monitoring process to sanitize all the information. One of the option of this destroy function is delete files from disk and this options is set as true.
Related branches
lp:~artmello/gallery-app/gallery-app-removing_screen
- PS Jenkins bot: Approve (continuous-integration)
- Bill Filler (community): Approve
-
Diff: 179 lines (+20/-20)9 files modifiedrc/qml/Components/DeleteOrDeleteWithContentsDialog.qml (+1/-1)
rc/qml/MediaViewer/MediaViewer.qml (+1/-1)
src/gallery-manager.cpp (+2/-2)
src/media/media-collection.cpp (+4/-4)
src/media/media-collection.h (+2/-2)
src/media/media-monitor.cpp (+5/-5)
src/media/media-monitor.h (+2/-2)
src/qml/qml-media-collection-model.cpp (+2/-2)
src/qml/qml-media-collection-model.h (+1/-1)
Changed in gallery-app (Ubuntu): | |
assignee: | nobody → Arthur Mello (artmello) |
status: | New → In Progress |
affects: | gallery-app (Ubuntu) → gallery-app |
Changed in gallery-app: | |
assignee: | Arthur Mello (artmello) → nobody |
importance: | Undecided → Critical |
assignee: | nobody → Arthur Mello (artmello) |
Changed in gallery-app: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
This bug was fixed in the package gallery-app - 0.0.67+ 14.04.20140328- 0ubuntu1
--------------- 14.04.20140328- 0ubuntu1) trusty; urgency=low
gallery-app (0.0.67+
[ Bill Filler ]
* change check for desktopMode to use platform name rather than env
var
[ Arthur Mello ]
* Make sure that gallery will not be able to remove media files from
disk if it finds any sort of inconsistency (LP: #1295344)
* Make sure that videos placed out the video directory will be not
displayed on devices (LP: #1296634)
-- Ubuntu daily release <email address hidden> Fri, 28 Mar 2014 15:34:43 +0000