[Portland-bugs] [Bug 60329] 'xdg-mime query default' return multiple .desktop entries.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 13 01:07:16 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=60329

Lionel Orry <lionel.orry at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |major
           Priority|medium                      |high

--- Comment #1 from Lionel Orry <lionel.orry at gmail.com> ---
This issue was blocking for me on Fedora 20.

I had the entry 'application/pdf=evince.desktop' in both defaults.list and
mimeinfo.cache, and running

xdg-mime query default application/pdf

returned

evince.desktop evince.desktop

The line above would not be parsed properly by xdg-open and the pdf files were
opened by the fallback browser.

An attached patch fixes the problem. Please consider it.

-- 
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/20140813/ec2be8f4/attachment.html>


More information about the Portland-bugs mailing list