Bug 282746

Summary: digikam - scroll after image view
Product: [Applications] digikam Reporter: Petr Bohac <bohacpetr>
Component: Albums-MainViewAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 2.1.1   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 2.3.0

Description Petr Bohac 2011-09-25 17:31:07 UTC
Version:           2.0.0 (using KDE 4.6.5) 
OS:                Linux

digikam in album view scrolls selected image on top after exiting image view

Reproducible: Always

Steps to Reproduce:
open image and then exit view. Does not appears when album is scrolled on the top (as well as when scrolled to the bottom as it makes no sense).

Actual Results:  
last vewd image is scrolled on the top of album view

Expected Results:  
album view should stay in same place if possible. If moved in image viewer out of scroll view then:
- if going forward, last viewd image should be on the bottom
- if going backward, last viewd image should be on the top (actual state)

affects at least versions 2.0 and 2.1.x, 2.2 not tested. 1.9 was OK.
Comment 1 Marcel Wiesweg 2011-11-02 21:55:34 UTC
Git commit fabe7d118c4ff17685038a2b91494e9761d26a91 by Marcel Wiesweg.
Committed on 29/10/2011 at 15:15.
Pushed by mwiesweg into branch 'master'.

Relax scrollTo with AtTop hint in resizeEvent for DCategorizedView

For me, mostly fixes the problem that current item always jumps to top
when returning from preview. Regressions unknown.
More sophisticated handling is possible, but even more bound to
produce regressions.

BUG: 282746

M  +1    -1    libs/widgets/itemview/dcategorizedview.cpp

http://commits.kde.org/digikam/fabe7d118c4ff17685038a2b91494e9761d26a91