https://bugs.kde.org/show_bug.cgi?id=465581
Méven <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://invent.kde.org/fram | |eworks/kio/-/commit/876c545 | |037f6565fab1301d9d6b9b1d4e5 | |8ee3ee Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #18 from Méven <[email protected]> --- Git commit 876c545037f6565fab1301d9d6b9b1d4e58ee3ee by Méven Car, on behalf of Ramil Nurmanov. Committed on 04/09/2026 at 17:08. Pushed by meven into branch 'master'. trash: Watch physical trash directories for changes Add a TrashDirNotify KDED module that watches the files/ directories of all available trash locations using KDirWatch. When their contents change, emit an update for trash:/ so directory views reload their contents. Update the watched directories when Solid reports filesystem mount, unmount, or accessibility changes. Add a way to invalidate the TrashImpl directory cache so newly available trash locations can be discovered while reusing the existing trash directory validation logic. This also handles changes made by non-KDE applications without adding trash-specific behavior to individual KIO jobs. M +3 -0 src/kioworkers/trash/CMakeLists.txt A +28 -0 src/kioworkers/trash/kdedmodule/CMakeLists.txt A +39 -0 src/kioworkers/trash/kdedmodule/tests/CMakeLists.txt A +79 -0 src/kioworkers/trash/kdedmodule/tests/testtrashdirnotify.cpp [License: LGPL(v2.0+)] A +33 -0 src/kioworkers/trash/kdedmodule/tests/testtrashdirnotify.h [License: LGPL(v2.0+)] A +143 -0 src/kioworkers/trash/kdedmodule/trashdirnotify.cpp [License: LGPL(v2.0)] A +45 -0 src/kioworkers/trash/kdedmodule/trashdirnotify.h [License: LGPL(v2.0)] A +8 -0 src/kioworkers/trash/kdedmodule/trashdirnotify.json A +20 -0 src/kioworkers/trash/kdedmodule/trashdirnotifymodule.cpp [License: LGPL(v2.0)] A +25 -0 src/kioworkers/trash/kdedmodule/trashdirnotifymodule.h [License: LGPL(v2.0)] M +10 -0 src/kioworkers/trash/trashimpl.cpp M +8 -2 src/kioworkers/trash/trashimpl.h https://invent.kde.org/frameworks/kio/-/commit/876c545037f6565fab1301d9d6b9b1d4e58ee3ee -- You are receiving this mail because: You are watching all bug changes.
