Bug 1195718

Summary: xdg-mime: generic method can return multiple matches
Product: [Fedora] Fedora Reporter: Jaroslav Škarvada <jskarvad>
Component: xdg-utilsAssignee: Rex Dieter <rdieter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: pertusus, rdieter, samo_dadela
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: xdg-utils-1.1.0-0.39.rc3.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-04 10:35:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Proposed fix none

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.