Version: 0.10.0 (using 4.2.1 (KDE 4.2.1), Kubuntu packages) Compiler: cc OS: Linux (i686) release 2.6.29-rc8 To reproduce: 1.) Load 20 files 2.) Select picture 10 (status bar at bottom will read correct fn and "image 10 of 20") 3.) Make changes and "Save As" another fn 4.) Statusbar does not change, even though the new image is image 21, and it is selected.
Not a big deal, just a small detail.
Hmm for me it is working, in 0.10 and in 0.11. What I did: 1.) Load 20 files 2.) Select picture 10 (status bar at bottom will read correct fn and "image 10 of 20") 3.) Make changes and "Save As" another fn 4.) Statusbar is updated, new file count is 21. If I select the new file, the correct filename is displayed in the statusbar. Brendan, maybe I misunderstood you. Do you mean that if you save the new image file, it is not automatically selected in the AlbumUI? Or do you mean that the statusbar information simply is not updated (it still reads image10.jpg 10/20) ? Andi
Oh, it is early in the morning :-) You are talking about showFoto, not digiKam. Need to check that again! Andi
Yes, now I can confirm: The new image will be displayed and selected, the file counter will be increased, but the wrong position number and file name is shown in the statusbar. Andi
Andi, it still valid using current code from svn ? Gilles
Yes, still valid.
SVN commit 972993 by aclemens: We had a race condition here. Thumbbar::insertItem will call slotUpdateItemInfo() before saveAsIsComplete() is finished. Therefore the currentItem will be set to the original image, not the new (saved as) one. We need to call slotUpdateItemInfo() in saveAsIsComplete() manually to make sure the statusbar is updated correctly. BUG:187902 M +1 -0 showfoto.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=972993