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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/digikam/-/commit/9ff65
                   |                            |babc35baf8f64192ddaabc6a11b
                   |                            |2f8fd0ae
            Version|                            |9.2.0
  Fixed/Implemented|                            |
                 In|                            |
             Status|ASSIGNED                    |RESOLVED

--- Comment #8 from [email protected] ---
Git commit 9ff65babc35baf8f64192ddaabc6a11b2f8fd0ae by Gilles Caulier, on
behalf of madhur dhillon.
Committed on 21/11/2026 at 08:28.
Pushed by cgilles into branch 'master'.

Showfoto: update current file path and thumbbar on save as

When saving an image using "Save As" in Showfoto, d->currentLoadedUrl
was not updated to the new destination path because the logic in
saveAsIsComplete() had been commented out during the model-view
thumbbar transition.

Because of this, any subsequent "Save" action (Ctrl+S) saved back to
the original source file path instead of the newly created file,
overwriting the original image.

Re-enable and modernize the post-save update logic in saveAsIsComplete():
- Update d->currentLoadedUrl to the new destination URL.
- Add the new file to the thumbbar model if not already present.
- Select and scroll to the new item in the thumbbar.
- Refresh window title and item info via slotUpdateItemInfo().
- Ensure saveDestinationUrl() prefers d->currentLoadedUrl when valid.
FIXED-IN: 9.2.0

M  +46   -14   core/showfoto/main/showfoto_iofiles.cpp

https://invent.kde.org/graphics/digikam/-/commit/9ff65babc35baf8f64192ddaabc6a11b2f8fd0ae

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to