[Digikam-devel] [Bug 267579] Keep scroll position don't remember the picture viewed but the viewed line number

Nicolas Boulesteix photonoxx at free.fr
Mon Dec 26 12:01:35 GMT 2011


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





--- Comment #7 from Nicolas Boulesteix <photonoxx free fr>  2011-12-26 12:01:34 ---
So, I try to be more "scenaristic"...

I go in a 507 pictures album with thumnail size set to the minimum (80 pixels).

With this set, I see 14 thumbnails in wide and 4 in heigth (56 by page).

I go to a random position and the top left thumbnail is the 225th (=56 (by
page)*4 (pages) + 1 (first thumbnail of the 5th page))and i select it.

If I change thumbnail size to the maximum (256 pixels), I have 5 thumbnails
wide, and almost 2 in height (10 by page).

The top left thumbnail is the 41th (=10 (by page)*4 (pages) + 1 (first
thumbnail of the 5th page)).

So clearly, the offset is not properly kept, and I see here Digikam, when
changing thumbnail size, keep the number of pages of thumbnail to reach
position and not the thumbnail number...

If I choose another thumbnail size, exactly the same things happens :

with 144 pixels thumbnails, I have a 9x3 thumbnails page (27 by page) and the
top left thumbnail is the 109th (=27 (by page)*4 (pages) + 1 (first thumbnail
of the 5th page))

So, I hope this will be sufficient for you to reproduce and understand what
happens.

Thanks

-- 
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