Skip to content
Commit 5551d9be authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[Folder View] Don't trash local files

Send the actual URL (e.g. desktop:/foo) to KIO and let it figure it out. Otherwise KDirNotify emits a change for the
backing file:///home/foo/Desktop URL and KDirLister cannot relate the two and doesn't notice a deletion immediately.
Since we don't offer "Move to Trash" for non-local files anyway, this should be safe.

While at it, check for whether files can be moved before offering Trash and whether files can be deleted before
offering Delete (Dolphin does that). I can split that into a separate commit, if you prefer.

CHANGELOG: Fixed long delay when deleting (moving to trash) files on the desktop

Differential Revision: https://phabricator.kde.org/D9914
parent 6ae42771
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment