[Digikam-devel] [Bug 247659] In big albums re-sorting thumbnails on opening right tab bar, move selected image out the screen [patch]

Marcel Wiesweg marcel.wiesweg at gmx.de
Mon Aug 23 09:32:52 BST 2010


https://bugs.kde.org/show_bug.cgi?id=247659





--- Comment #8 from Marcel Wiesweg <marcel wiesweg gmx de>  2010-08-23 10:32:50 ---
Have you checked that multiple selection is not reset now when the sidebar is
expanded?

scrollToCurrentSelected can be simplified, reducing sideeffects, probably like
this:
if (selectionModel()->hasSelection()) 
    scrollTo(currentIndex());

A better implementation would store the a) first visible selected item; if
none, b) first visible item before resize, and then, after resize, scroll so
that this item is visible. I'm not sure if this is easily possible from
resizeEvent, because the widget is already resized then.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list