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

Méven <me...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/syst
                   |                            |em/dolphin/-/commit/eca160a
                   |                            |e5a2dbd5590e4bae22cddde488d
                   |                            |bacf74

--- Comment #9 from Méven <me...@kde.org> ---
Git commit eca160ae5a2dbd5590e4bae22cddde488dbacf74 by Méven Car, on behalf of
Akseli Lahtinen.
Committed on 19/12/2024 at 10:04.
Pushed by meven into branch 'master'.

dolphinview: Update thumbnail on filename change

If filename of an item was updated previously, it would modify the model
before the file was actually changed. This led to the model calling
a signal that would try to run a previewjob, but since the filename
is not actually changed yet on disk, it would fail.

This patch moves the model updating after copyjob. Copyjob
will take care of the file renaming if there is already existing file.
We just need to update the model correctly after the job has succeeded.

M  +1    -0    src/kitemviews/kfileitemlistview.h
M  +1    -0    src/kitemviews/kfileitemmodelrolesupdater.cpp
M  +3    -0    src/kitemviews/kfileitemmodelrolesupdater.h
M  +48   -0    src/tests/dolphinmainwindowtest.cpp
M  +8    -17   src/views/dolphinview.cpp

https://invent.kde.org/system/dolphin/-/commit/eca160ae5a2dbd5590e4bae22cddde488dbacf74

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

Reply via email to