Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Plasma Desktop Plasma Desktop
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 37
    • Issues 37
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 54
    • Merge requests 54
  • 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
  • PlasmaPlasma
  • Plasma DesktopPlasma Desktop
  • Merge requests
  • !1125

containments/desktop: Store Folder View configuration paths relative to desktop

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Alexander Wilms requested to merge alexanderwilms/plasma-desktop:master into master Sep 04, 2022
  • Overview 22
  • Commits 7
  • Pipelines 83
  • Changes 9

The Folder View widget used to show .desktop files' filenames instead of desktop entries' Name properties when using a user-specified path.

How to test:

  1. Create a folder below xdg-user-dir DESKTOP and drag and drop an entry from Kickoff to this folder
  2. In the Desktop Settings, make sure Layout is set to Desktop
  3. Open the Folder View widget's settings
  4. Choose the Custom path option and select the folder created in step 1
  5. Before, the URI would use the file:// protocol, which would result in the file names of the desktop files being shown in the Folder View widget
  6. Now it automatically converts it to a desktop:// URI, which results in the application names being shown in the Folder View widget
before after
grafik grafik
grafik grafik

This MR converts all file:// paths below xdg-user-dir DESKTOP to relative ones using the desktop:// scheme.

BUG: 458400

@hein @ngraham

Edited Jan 09, 2023 by Alexander Wilms
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: master