Bug 326796

Summary: When returning from edit mode to preview mode, next image not always loaded
Product: [Applications] digikam Reporter: Jason Robinson <mail>
Component: Preview-ImageAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 4.0.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.6.0
Sentry Crash Report:
Attachments: Screenshot of bug situation
Screenshot of bug happening

Description Jason Robinson 2013-10-28 20:13:32 UTC
Sometimes (about 60% of time), after saving an image in edit mode (in non-destructive editing mode) and thus returning to preview mode, next image is not always loaded in the preview window.

Reproducible: Sometimes

Steps to Reproduce:
1. Open image in preview mode
2. Edit, do changes and save (non-destructive editing)
3. Close editor (saving image)
Actual Results:  
Sometimes old image is still in preview mode, even though it is now an "original", since a new version has been created via edit. When pressing "next" shortcut, preview for next of next image is loaded. When after that pressing "back" shortcut, the correct image comes visible.

it seems as if it has really jumped to the next image, but the new image is not replacing the image in the preview.

Expected Results:  
Next image should be automatically loaded for preview. Happens sometimes.
Comment 1 Jason Robinson 2013-10-28 20:24:40 UTC
Created attachment 83183 [details]
Screenshot of bug situation

This is what it looks like when the bug happens. It's like the image does not exist any more - next/prev buttons greyed out and all file properties for example empty. Context menu does not come up either.
Comment 2 caulier.gilles 2014-08-29 21:17:37 UTC
Jason,

I never seen this dysfunction before.

Can you reproduce the problem using last digiKam 4.2.0 ?

Gilles Caulier
Comment 3 Jason Robinson 2014-09-12 20:04:32 UTC
Gilles,

Will add a screenshot of the same thing happening on digiKam 4.0 - didn't try 4.2 yet as it doesn't install cleanly on my Ubuntu 14.04, some dependency requires updating and then apt-get wants to remove another app. If you think the problem could be resolved, I could try work around that.

If it makes any difference all my images are on an NFS network drive.

digikam 4:4.0.0-0ubuntu1~ubuntu14.04~ppa2
Comment 4 Jason Robinson 2014-09-12 20:05:58 UTC
Created attachment 88681 [details]
Screenshot of bug happening

As you can see, thumbbar shows new image selected, preview shows pre-edit situation, but from thumbbar previous you can see clearly it has been changed. Next/prev buttons grayed out.
Comment 5 Jason Robinson 2014-12-12 22:07:23 UTC
I think this was due to a badly setup NFS share. Once that was fixed I've not seen this after that. Maybe the transfer failed or failed to happen fast enough and digikam didn't move to the next image. Anyway, I'm closing this as it doesn't seem to be a problem in normal cases.