Version: (using KDE Devel) Installed from: Compiled sources Compiler: gcc4.3 OS: Linux When opening panels viewport of Album is changed - it moves upward. The main consequence is vanishing of selected image from view. For best reproduction select album with many pictures (requiring several PagesDown to go to the bottom) and select last image. Then open and close several times eg. Properties panel. In many situations picture vanishes after just one round. After many rounds you can go to the top of album. Selected album should stay visible.
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.
Pawel, Patch are always welcome from you... (:=))) Gilles
There is very similar bug with text filtering. After clearing of field viewport jumps up. This is not the case with filetype and rating filtering - selected item stays visible.
Is this bug valid? In dolphin for example a selected item is not staying in the exact position either, when opening panels (for example F11: Information).
Mik, Pawel, This file still valid using digiKam 2.x serie ? Gilles Caulier
Mik, Pawel, This file still valid using digiKam 3.5.0 ? Gilles Caulier
New digiKam 4.11.0 is available : https://www.digikam.org/node/740 Can you reproduce the problem with this release ?
With digiKam 5.0.0 this problem is not reproducible. I close this file now. Don't hesitate to re-open if necessary. Gilles Caulier