[Portland-bugs] [Bug 95051] New: xdg-mime does not write the file it reads in a query
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Apr 21 13:42:10 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=95051
Bug ID: 95051
Summary: xdg-mime does not write the file it reads in a query
Product: Portland
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: xdg-utils
Assignee: portland-bugs at lists.freedesktop.org
Reporter: freedesktop at wgmd.de
A xdg-mime query will read .config/mimeapps.list first
(https://cgit.freedesktop.org/xdg/xdg-utils/tree/scripts/xdg-mime.in?id=ef8a58be4049697bb6347c3c5b8fff4d2b2deb86#n397).
But setting a default application will write to
.local/share/applications/mimeapps.list
(https://cgit.freedesktop.org/xdg/xdg-utils/tree/scripts/xdg-mime.in#n244).
This way one can't change the default application, if .config/mimeapps.list was
created by some means.
Also, xdg-mime will fail with returncode 4 in that case, which isn't very
descriptive.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/portland-bugs/attachments/20160421/d3193c50/attachment.html>
More information about the Portland-bugs
mailing list