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

Méven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kio/-/commit/6e58b9a
                   |                            |bbc2d13e949d00383ca96c4b4aa
                   |                            |39c7da
         Resolution|---                         |FIXED

--- Comment #4 from Méven <[email protected]> ---
Git commit 6e58b9abbc2d13e949d00383ca96c4b4aa39c7da by Méven Car.
Committed on 13/06/2026 at 19:49.
Pushed by meven into branch 'master'.

deletejob: report files removed before a partial failure

KIO::del announced removed files through KDirNotify FilesRemoved only
when the whole job finished without error. When deletion stopped on an
error partway through, the files it had already removed were never
reported, so directory listers kept showing files that no longer existed
until they were rebuilt.

Track every removed URL and emit FilesRemoved for that subset on the
error paths as well, the same way CopyJob already does for moves that
fail partway. Add a test that deletes a file alongside an entry that
cannot be removed and checks the file's removal is announced.

M  +3    -0    autotests/CMakeLists.txt
M  +72   -0    autotests/deletejobtest.cpp
M  +1    -0    autotests/deletejobtest.h
M  +27   -13   src/core/deletejob.cpp

https://invent.kde.org/frameworks/kio/-/commit/6e58b9abbc2d13e949d00383ca96c4b4aa39c7da

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

Reply via email to