Bug 1195718 - xdg-mime: generic method can return multiple matches
Summary: xdg-mime: generic method can return multiple matches
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: xdg-utils
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-24 13:15 UTC by Jaroslav Škarvada
Modified: 2015-03-09 08:40 UTC (History)
3 users (show)

Fixed In Version: xdg-utils-1.1.0-0.39.rc3.fc21
Clone Of:
Environment:
Last Closed: 2015-03-04 10:35:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Proposed fix (853 bytes, patch)
2015-02-24 13:15 UTC, Jaroslav Škarvada
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 60329 0 None None None Never

Description Jaroslav Škarvada 2015-02-24 13:15:42 UTC
Created attachment 994684 [details]
Proposed fix

Description of problem:
Generic method can return multiple matches which can confuse xdg-open.

Version-Release number of selected component (if applicable):
xdg-utils-1.1.0-0.38.rc3.fc21

How reproducible:
Always

Steps to Reproduce:
1. Installed both Gnome and KDE
2. xdg-mime query default video/mp4

Actual results:
org.gnome.Totem.desktop kde4-kaffeine.desktop

Expected results:
org.gnome.Totem.desktop

Additional info:

Comment 1 Rex Dieter 2015-02-24 16:20:21 UTC
Thanks

Comment 2 Fedora Update System 2015-02-24 21:29:39 UTC
xdg-utils-1.1.0-0.39.rc3.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/xdg-utils-1.1.0-0.39.rc3.fc22

Comment 3 Fedora Update System 2015-02-24 22:50:57 UTC
xdg-utils-1.1.0-0.39.rc3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/xdg-utils-1.1.0-0.39.rc3.fc21

Comment 4 Fedora Update System 2015-02-25 13:27:21 UTC
Package xdg-utils-1.1.0-0.39.rc3.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing xdg-utils-1.1.0-0.39.rc3.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-2505/xdg-utils-1.1.0-0.39.rc3.fc21
then log in and leave karma (feedback).

Comment 5 Rex Dieter 2015-03-04 02:23:11 UTC
*** Bug 1197611 has been marked as a duplicate of this bug. ***

Comment 6 Fedora Update System 2015-03-04 10:35:01 UTC
xdg-utils-1.1.0-0.39.rc3.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2015-03-09 08:40:55 UTC
xdg-utils-1.1.0-0.39.rc3.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.