Skip to content

KPropertiesDialog: show the actual location of items in trash:/ or desktop:/

Ahmad Samir requested to merge work/ahmad/trash-local-url into master

kio_trash: set the UDS_LOCAL_PATH, this way when e.g. the KPropertiesDialog is called on an item in trash:/, the Location: can be set to the actual path to the item (e.g. ~/.local/share/Trash/files or /path/to-other-mount-point/.Trash-$UID/files/).

This gives the user a clue where the files reside on the disk, instead of just "/ (trash)", trash:/ is a virtual view on all the trash directories.

The same goes for items in desktop:/, show e.g. "Location: /home/foo/Desktop", more useful IMHO.

CCBUG: 282919 BUG: 412670 FIXED-IN: 5.85

Edited by Ahmad Samir

Merge request reports