https://bugs.kde.org/show_bug.cgi?id=244163
--- Comment #49 from Méven <me...@kde.org> --- Git commit 0036695057dbf174b6fba46837036c986aa42d90 by Méven Car. Committed on 22/10/2023 at 12:50. Pushed by dfaure into branch 'master'. KFileItem: add exists() function and use it in KCoreDirLister Until now processPendingUpdates did not remove files. It relied on subsequent updates to the parent dir to remove it. But this is racy, when a file is touched its parent is added to pendingDirectoryUpdates, but if a file is removed as its parent dir is updated, no further updateDirectory will be called, and the file removal get unnoticed. Since we already did a stat to check for file attribute changes, we can also make sure in processPendingUpdates whether a file was removed and act accordingly. M +26 -0 autotests/kfileitemtest.cpp M +1 -0 autotests/kfileitemtest.h M +12 -3 src/core/kcoredirlister.cpp M +11 -0 src/core/kcoredirlister_p.h M +18 -0 src/core/kfileitem.cpp M +7 -0 src/core/kfileitem.h https://invent.kde.org/frameworks/kio/-/commit/0036695057dbf174b6fba46837036c986aa42d90 -- You are receiving this mail because: You are watching all bug changes.