Bug 264864 - Keep focus on selected image when change filtering parameters
Summary: Keep focus on selected image when change filtering parameters
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-Filters (show other bugs)
Version: 1.8.0
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-30 17:47 UTC by Michal Thoma
Modified: 2017-08-14 21:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Thoma 2011-01-30 17:47:28 UTC
Version:           1.8.0 (using KDE 4.6.0) 
OS:                Linux

Usage scenario:

1 - For example I have a album of 100 photographs, where 10 are rated 4* and the  rest is not rated lower than that. Down at the filtering tab I select to show images with 4* or more and I find the image which is interesting for me.

2 - Now I want to see all other images which are around this selected 4* one. (Images taken in same sequence which got lower rating). So I completely remove any filtering by pressing red light on filtering tab.

3 - All images appears though the selected image slides somewhere down and I have to scroll down to that and virtually find it again.

4 - I would like that digikam keep focus on selected image so we can easily change filtering without losing track of images we're working on.

Reproducible: Didn't try
Comment 1 Marcel Wiesweg 2011-02-09 22:29:30 UTC
There is a regression in 2.0 to this effect. Second, sometimes the selection is preserved, but the current item not scrolled to. Otherwise selection preservation is implemented in Qt by QItemSelectionModel.
Comment 2 Marcel Wiesweg 2011-02-09 22:35:30 UTC
Git commit c525927b011a77ba0ce65f0549d30ef7288ae2f4 by Marcel Wiesweg.
Committed on 09/02/2011 at 22:31.
Pushed by mwiesweg into branch 'development/2.0'.

- fix a regression which set icon view selection to bogus selection from thumbbar
- scroll to current index after layout change

BUG: 264864

M  +2    -2    NEWS     
M  +6    -1    digikam/albumwidgetstack.cpp     
M  +1    -0    libs/widgets/common/dcategorizedview.cpp     

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