Summary: | Status bar gives wrong picture filename and position in list after "Save As" | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Joe Biden <mailinglist> |
Component: | Showfoto-Thumbs | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | 0.10.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 1.0.0 | |
Sentry Crash Report: |
Description
Joe Biden
2009-03-23 06:05:28 UTC
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 |