Bug 285548

Summary: Switching between most left sidebar options while in 'View Image' mode leaves the preview image but removes all thumbnails and information
Product: [Applications] digikam Reporter: Ananta Palani <anantapalani>
Component: Preview-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: caulier.gilles
Priority: NOR    
Version: 2.2.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 2.3.0
Sentry Crash Report:
Attachments: Image showing the problem.

Description Ananta Palani 2011-11-02 11:07:06 UTC
Created attachment 65154 [details]
Image showing the problem.

Version:           2.2.0 (using KDE 4.7.2) 
OS:                All

When switching between most left sidebar options while in 'View Image' mode the current image preview remains, although the thumbnails and any image info visible in the right sidebar are removed. This is confusing because it seems like the image is still selected, but nothing can be done to the preview. Additionally, click on the preview image causes it to disappear.

Reproducible: Always

Steps to Reproduce:
1. Open digiKam anew
2. Click on an image thumbnail to switch to 'Image View'
3. Click on any other left sidebar tabs that do not already have a search filter applied (on a freshly started digiKam this seems to be Timeline, People, Fuzzy Search)

Actual Results:  
Preview image remains

Expected Results:  
Preview image should have been removed

I am using Full Size Preview images if that makes a difference.

If a search is already saved, such as a previous search in 'Search' then the window is cleared correctly. This is easiest to reproduce starting from the Album view and switching to Timeline where no date is selected or People.
Comment 1 Marcel Wiesweg 2011-11-05 15:42:14 UTC
Git commit 601b4b1751e2e25dc91f4f9f19a61fd3d20126f5 by Marcel Wiesweg.
Committed on 05/11/2011 at 16:41.
Pushed by mwiesweg into branch 'master'.

Dont forget to reset preview mode if new current album is 0

BUG: 285548

M  +3    -1    NEWS
M  +1    -0    digikam/views/digikamview.cpp

http://commits.kde.org/digikam/601b4b1751e2e25dc91f4f9f19a61fd3d20126f5