Incorrect Picture Pixbuf Displayed

Bug #1065328 reported by Cliff Carson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
shotwell (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Have a single photo library to hold all my pictures. Setup 2 Picture database directories using the --datadir paramter to hold different sets of pictures. Have had this setup for over a year and have not seen this problem. I'm currently running 12.10 (with a new level of Shotwell?) and am now seeing some pixbuf pictures from one picture DB show up when I start Shotwell to display the other DB. If I start up in DB 1 and select the bad pixbuf picture then enhance it the correct pixbuf picture shows up. I can then startup in DB 2 find the picture I corrected which should not be in DB 2. I can then enhance this picture to get the correct one but going back to DB 1 and find it incorrect again. This has nothing to do with the thumb files, have deleted all the files in the thumbs directories.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: shotwell 0.13.0-0ubuntu3
ProcVersionSignature: Ubuntu 3.5.0-12.12-generic 3.5.2
Uname: Linux 3.5.0-12-generic x86_64
ApportVersion: 2.6.1-0ubuntu2
Architecture: amd64
Date: Wed Oct 10 20:19:35 2012
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120828.2)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: shotwell
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Cliff Carson (ccarson1) wrote :
Revision history for this message
Cliff Carson (ccarson1) wrote :

Appears that Shotwell maintains a single cache of thumnails in ~/.cache/shotwell/thumbs of the pictures in the database. The problem is that when using the --datadir (or -d) this same single cache is used for all databases resulting in the wrong thumbnail being displayed.

Revision history for this message
Lucas Beeler (lucas-yorba) wrote :

This issue is known upstream and is ticketed here: http://redmine.yorba.org/issues/5986

In the meantime, a workaround is this: whenever you switch your library, wipe out your ~/.cache/shotwell directory. This will cause Shotwell to generate new thumbnails appropriate for the current library.

Changed in shotwell (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Cliff Carson (ccarson1) wrote :

As an alternative create a new ~/.cache/shotwell for each picture set (--datadir) using the steps appended by Lucas, rename the ~/.cache/shotwell as a unique directory names. When starting shotwell with the --datadir parameter link the appropriate renamed ~/.cache/[name] as ~/.cache/shotwell.

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.