Shotwell deletes edited photos after upgrading to oneiric 11.10

Bug #876816 reported by David Bogner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
shotwell (Ubuntu)
New
Undecided
Unassigned

Bug Description

If you have edited photos in shotwell in a natty, then upgrade to oneiric and double-click an edited photo in the overview, the edited version will be deleted from the hard-drive. the original photo will be still there, but the edited is gone. no recovery possible. you can loose a lot of work with that. extremely dangereous to lose a complete artwork set. (as ist happened to me). this is a security issue in terms of danger of data loss.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: shotwell 0.11.2-0ubuntu1 [modified: usr/share/glib-2.0/schemas/gschemas.compiled]
ProcVersionSignature: Ubuntu 3.0.0-12.20-server 3.0.4
Uname: Linux 3.0.0-12-server x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Mon Oct 17 21:57:45 2011
InstallationMedia: Ubuntu-Server 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.2)
ProcEnviron:
 PATH=(custom, no user)
 LANG=de_AT.UTF-8
 SHELL=/bin/bash
SourcePackage: shotwell
UpgradeStatus: Upgraded to oneiric on 2011-10-13 (4 days ago)

Revision history for this message
David Bogner (davidbogner) wrote :
security vulnerability: yes → no
security vulnerability: yes → no
visibility: private → public
visibility: private → public
Revision history for this message
Clint Rogers (clinton-yorba) wrote :

Hi,

I'm sorry you've encountered something like this. When this happened, were you running Shotwell directly with a specific image, or running it with the entire library? Also, have you seen this happen a second time?

Revision history for this message
David Bogner (davidbogner) wrote :

Hi,

yes this happens every time I click on a picture edited in natty. the edited version is deleted. if i mark 10 edited pictures then click to view all marked pictures, then double click one picture of the marked pictures all of them get deleted.

Revision history for this message
Clint Rogers (clinton-yorba) wrote :

Hi again,

Because Shotwell is a non-destructive editor, the edited version of an image is never actually stored on disk, unless the user manually exports it; instead, some information about the original, along with the various cropping, red eye and colour modifications, are stored in a database and applied when the image is displayed.

After talking with my team lead here, we think that something in the upgrade process either stripped or incorrectly parsed the old photo database, and we'd like to find out what.

If you feel comfortable doing so, can you attach the file ~/.shotwell/data/photo.db to this bug, or, if it contains confidential information, mail it directly to <email address hidden>? If we could look at the relevant column that stores the edits, we might be able to fix this.

Revision history for this message
David Bogner (davidbogner) wrote :

Hi Clint,

thanks for the response. Actually the upgrade process did not delete the image. Also the images edited with an external editor (GIMP) were deleted. These images are stored with following name (german language): original.jpg becomes original_verändert.jpg in natty and in oneiric naming convention changed. edited photos are now saved as original_shotwell_verändert.jpg. So could be that changing the naming convention causes the edited photos to be deleted. But also the photos edited in shotwell (which are actually not saved as separate files) are reversed to the original version.
My images are stored on a ntfs drive due to compatibility reasons with other operating systems. I will try to reproduce this, but meanwhile many of the natty-edited images are deleted and I do not know if I will find some none deleted files. I will send you the db file shortly.

David

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.