[Portland-bugs] [Bug 56352] New: xdg-mime/xdg-open does not follow mime-actions-spec
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Oct 24 05:36:59 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=56352
Priority: medium
Bug ID: 56352
Assignee: portland-bugs at lists.freedesktop.org
Summary: xdg-mime/xdg-open does not follow mime-actions-spec
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: vovik-wfa at bk.ru
Hardware: Other
Status: NEW
Version: 1.1.0 rc1
Component: xdg-utils
Product: Portland
Freedesktop.org mime-actions-spec
(http://freedesktop.org/wiki/Specifications/mime-actions-spec) states that
default application for a MIME type is the one that is listed first for a given
MIME type in section [Added Associations] of mimeapps.list, e.g.:
------
[Added Associations]
mimetype1=foo1.desktop;foo2.desktop;foo3.desktop;
------
foo1 will will be default for mimetype1
But xdg-open/xdg-mime (via generic function) uses [Default Applications]
section
which is not covered in mime-actions-spec and therefore should not even exist
in mimeapps.list.
It also completely ignores standard [Added Associations] section in
mimeapps.list.
I edit mimeapps.list:
------
[Added Associations]
application/testapp=leafpad.desktop;
------
then run:
xdg-mime query default application/testapp
It returns nothing, but should return "leafpad.desktop".
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/portland-bugs/attachments/20121024/db8ef665/attachment.html>
More information about the Portland-bugs
mailing list