Bug 678656

Summary: Shouldn't use user's defaults.list
Product: [Fedora] Fedora Reporter: Bastien Nocera <bnocera>
Component: xdg-utilsAssignee: Rex Dieter <rdieter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: chrisccoulson, pertusus, rdieter, tflink
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://www.freedesktop.org/wiki/Specifications/mime-actions-spec
Whiteboard:
Fixed In Version: xdg-utils-1.1.0-0.4.20110408.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-18 04:06:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 617261    
Attachments:
Description Flags
0001-xdg-mime-Use-mimeapps.list-for-user-specific-mimetyp.patch none

Description Bastien Nocera 2011-02-18 19:43:05 UTC
xdg-utils uses the user's defaults.list, when defaults.list is only for administrators and OS developers to use.

Instead, xdg-mime should use the user's mimeapps.list.

Comment 1 Rex Dieter 2011-02-18 21:00:32 UTC
Oh my, xdg-mime's handling is...  a bit ugly and outright wrong handling defaults.list properly alright.

good news, it's an opportunity to make it simpler, cleaner, and conformant all at once.

Reference for posterity,
http://www.freedesktop.org/wiki/Specifications/mime-actions-spec

Comment 2 Chris Coulson 2011-04-08 09:39:15 UTC
Created attachment 490744 [details]
0001-xdg-mime-Use-mimeapps.list-for-user-specific-mimetyp.patch

Is this patch ok?

Comment 3 Rex Dieter 2011-04-08 11:54:18 UTC
Definitely a good start, thanks!

Comment 4 Fedora Update System 2011-04-08 12:22:59 UTC
xdg-utils-1.1.0-0.4.20110408.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/xdg-utils-1.1.0-0.4.20110408.fc15

Comment 5 Fedora Update System 2011-04-09 05:27:46 UTC
Package xdg-utils-1.1.0-0.4.20110408.fc15:
* should fix your issue,
* was pushed to the Fedora 15 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.4.20110408.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/xdg-utils-1.1.0-0.4.20110408.fc15
then log in and leave karma (feedback).

Comment 6 Tim Flink 2011-04-15 22:52:01 UTC
This was discussed at the 2011-04-15 blocker bug meeting and it was concluded that we needed more information before accepting it as a blocker.

 - What happens when a user hits this bug?
 - Which users are affected?

Comment 7 Fedora Update System 2011-04-18 04:06:13 UTC
xdg-utils-1.1.0-0.4.20110408.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.