[Digikam-devel] [Bug 152615] changing viewport of Album when opening panels

Paweł Marciniak pave at o2.pl
Wed Nov 21 00:21:37 GMT 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=152615         




------- Additional Comments From pave o2 pl  2007-11-21 01:21 -------
The problem is caused by the fact that in IconView::slotRearrange(), IconView::ensureItemVisible() is called with d->storedVisibleItem as a parameter. That variable is previously set to findFirstVisibleItem() in IconView::triggerRearrangement();

As a result, when changing the IconView size from A to B, visibility in B is set to the first item that was visible in A size, instead of the current item.



More information about the Digikam-devel mailing list