Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • K KIO
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 80
    • Merge requests 80
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • FrameworksFrameworks
  • KIO
  • Merge requests
  • !513

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

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Ahmad Samir requested to merge work/ahmad/trash-local-url into master Jul 21, 2021
  • Overview 24
  • Commits 5
  • Pipelines 0
  • Changes 3

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 Jul 21, 2021 by Ahmad Samir
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: work/ahmad/trash-local-url