Bug 86069 - tweak handling of default apps in mimeapps spec
Summary: tweak handling of default apps in mimeapps spec
Status: RESOLVED FIXED
Alias: None
Product: Specifications
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Vincent Untz
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-09 17:06 UTC by Allison Lortie (desrt)
Modified: 2015-03-06 15:11 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
mime-apps: change rules for default apps (5.21 KB, patch)
2014-11-09 17:07 UTC, Allison Lortie (desrt)
Details | Splinter Review

Description Allison Lortie (desrt) 2014-11-09 17:06:33 UTC
As per this discussion on the list:

http://lists.freedesktop.org/archives/xdg/2014-October/013355.html
(and continuing into November)
http://lists.freedesktop.org/archives/xdg/2014-November/013356.html
Comment 1 Allison Lortie (desrt) 2014-11-09 17:07:14 UTC
Created attachment 109163 [details] [review]
mime-apps: change rules for default apps

Reverse the earlier language that selecting default apps has nothing to
do with associations.  We now require that an app is associated with a
particular type before it can be considered as the default for that
type.

This resolves a couple of tricky cases in terms of expected behaviour
when removing the association between an app and a particular type.

 - there is no need to explicitly select a "new default" at this point
   which may become uninstalled in the future (which would result in
   fallback to the application that we removed the association for)

 - it is now possible to have 'no default app' in case the only app for
   a given mime type had its association manually removed

This does add an additional requirement on implementations, however:

 - implementations should ensure that a type association exists when
   between an app and a type when setting that app as the default
Comment 2 David Faure 2014-11-18 22:09:13 UTC
OK, I approve this change.
Comment 3 Allison Lortie (desrt) 2015-03-06 15:11:17 UTC
Attachment 109163 [details] pushed as ffd4095 - mime-apps: change rules for default apps


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.