Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xdg-utils
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 166
    • Issues 166
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 37
    • Merge requests 37
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xdg
  • xdg-utils
  • Merge requests
  • !53

xdg-mime: actually handle lists in mimeapps.list correctly

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Chih-Hsuan Yen requested to merge yan12125/xdg-utils:xdg-mime-fix-44163 into master May 24, 2022
  • Overview 1
  • Commits 1
  • Changes 1

The issue was raised in [1]. The earlier fix [2] makes xdg-mime always pick the first item from a list, and that differs from the standard [3].

If the application is no longer installed, the next application in the list is attempted, and so on.

A latter fix [4] implements the standard-compliant behavior, while it does not actually work until [2] is reverted.

[1] https://bugs.freedesktop.org/show_bug.cgi?id=44163

[2] a5ec775d

[3] https://specifications.freedesktop.org/mime-apps-spec/1.0.1/ar01s04.html

[4] 1f8e58d5

Edited May 24, 2022 by Chih-Hsuan Yen
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: xdg-mime-fix-44163