Bug 89880

Summary: mime apps: make handling of [Removed Associations] optional
Product: Specifications Reporter: Allison Lortie (desrt) <desrt>
Component: GeneralAssignee: Allison Lortie (desrt) <desrt>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: medium CC: faure
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Allison Lortie (desrt) 2015-04-02 18:28:52 UTC
This is an RFC.  I'm not yet completely convinced that it's a great idea.

There is quite some substantial complexity in implementing the list of removed associations, particularly at the point where this intersects with mime inheritence.  There have been a couple of threads on the list about this.

One "radical" idea that would solve this would be to remove the ability to remove associations entirely.

ie: if app app claims that it can open image/jpeg, then it will always be on the list of apps that can open image/jpeg.  You can't change that.

"Remove association" APIs on libraries would be limited to removing associations that the user themselves established (ie: removing [Added Association] entries).

If you really think about it, this is a somewhat questionable feature, and having it in the spec substantially complicates the implementation.  Marking this feature optional would be a good first step toward eliminating it entirely.
Comment 1 Vladimir 2015-04-05 16:18:55 UTC
IMHO, this is unneeded complication that breaks the logic. Simple iteration of hierarchical additions and removals should not be changed.
Comment 2 David Faure 2015-05-10 15:00:34 UTC
I disagree. Let the users be in charge. If they don't want to see a certain app being started (for a certain type of files, or for all), they should be able to say so.
Comment 3 David Faure 2015-05-10 15:01:20 UTC
(I meant: I disagree with this proposal; not with comment #1)
Comment 4 Vincent Untz 2015-09-18 09:41:43 UTC
Sorry for the noise, reassigning to new (since 2 years) maintainers (Ryan & David).
Comment 5 David Faure 2016-08-20 09:00:36 UTC
If you're not convinced and I'm not convinced, I guess there's not much point in keeping this open :-)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.