DefaultApplicationsFirefox

Differences between revisions 1 and 11 (spanning 10 versions)
Revision 1 as of 2005-10-29 23:48:37
Size: 1052
Editor: 214_220_103_66-WIFI_HOTSPOTS
Comment:
Revision 11 as of 2006-03-04 11:19:26
Size: 2687
Editor: 81-179-254-58
Comment: changed to launchpad
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
##(see the SpecSpec for an explanation) == Status ==
Line 3: Line 3:
 * '''Launchpad Entry''': https://launchpad.net/distros/ubuntu/+spec/default-applications-firefox
 * '''Created''': [[Date(2005-10-29T23:48:37Z)]] by MrPantless
 * '''Contributors''': MrPantless
 * '''Packages affected''':
 * See https://launchpad.net/distros/ubuntu/+spec/default-applications-firefox
Line 10: Line 7:
https://launchpad.net/distros/ubuntu/+source/firefox/+bug/13373 [[BR]]
https://launchpad.net/distros/ubuntu/+source/mozilla-firefox/+bug/24789 [[BR]]
https://launchpad.net/distros/ubuntu/+source/firefox/+bug/15224 [[BR]]
https://launchpad.net/distros/ubuntu/+source/firefox/+bug/18995

Firefox should use the same default applications for opening unknown file types as GNOME, ideally through proper integration with GNOME, or at a minimum ship its own matching default settings.

When it needs to ask about, or the user wants to specify, the application to use, this should not be done by offering a filesystem hierarchy browser.
Line 12: Line 18:
== Use cases ==

== Scope ==
Firefox's current mechanisms for determining which program to run are (a) inconsistent and (b) broken.
Line 18: Line 22:
The behaviour should be as follows:

 * If the file's mime-type can be handled by firefox internally then firefox should do so.
 * If it cannot, then firefox should do with the file what Nautilus would do with it except that if that involves executing the file it should want to save it to disk.
 * There should be a way to tell firefox `open with ...' which should provide the options
  1. firefox's internal display engine treating the file as html
  2. firefox's internal display engine treating the file as text/plain
  3. save to disk
  4. same as Nautilus open with.

Getting this correct may not be feasible given the current parlous state of the mime handling system in at least firefox 1.0.7. But we will try to get as close as possible.
Line 20: Line 36:
'''Comments:''' We will review available patches for integrating with the XDG MIME standard (which would provide behaviour matching that of GNOME applications) and merge them unless they are objectionable.

If completely correct behaviour cannot be achieved with only a reasonably sized patch(set) relative to upstream or Debian, then we will try to do the best we can without excessive divergence.

=== Comments and suggestions ===
Line 26: Line 46:
=== Code ===

=== Data preservation and migration ===

== Outstanding issues ==

== BoF agenda and discussion ==
 * Could this work be duplicated into thunderbird?

Status

Summary

https://launchpad.net/distros/ubuntu/+source/firefox/+bug/13373 BR https://launchpad.net/distros/ubuntu/+source/mozilla-firefox/+bug/24789 BR https://launchpad.net/distros/ubuntu/+source/firefox/+bug/15224 BR https://launchpad.net/distros/ubuntu/+source/firefox/+bug/18995

Firefox should use the same default applications for opening unknown file types as GNOME, ideally through proper integration with GNOME, or at a minimum ship its own matching default settings.

When it needs to ask about, or the user wants to specify, the application to use, this should not be done by offering a filesystem hierarchy browser.

Rationale

Firefox's current mechanisms for determining which program to run are (a) inconsistent and (b) broken.

Design

The behaviour should be as follows:

  • If the file's mime-type can be handled by firefox internally then firefox should do so.
  • If it cannot, then firefox should do with the file what Nautilus would do with it except that if that involves executing the file it should want to save it to disk.
  • There should be a way to tell firefox `open with ...' which should provide the options
    1. firefox's internal display engine treating the file as html
    2. firefox's internal display engine treating the file as text/plain
    3. save to disk
    4. same as Nautilus open with.

Getting this correct may not be feasible given the current parlous state of the mime handling system in at least firefox 1.0.7. But we will try to get as close as possible.

Implementation

We will review available patches for integrating with the XDG MIME standard (which would provide behaviour matching that of GNOME applications) and merge them unless they are objectionable.

If completely correct behaviour cannot be achieved with only a reasonably sized patch(set) relative to upstream or Debian, then we will try to do the best we can without excessive divergence.

Comments and suggestions

  • JeffWaugh: Red Hat have patches, which may be upstream in the 1.5 branch, to integrate with the xdg-mime standard (instead of mailcap). On top of that, we may want to do some mailcap/xdg-mime synchronisation, so that other apps (such as mutt) can take advantage of the xdg-mime information.

  • MarkShuttleworth: We don't want to see the "do you want to do this by default?" box - just DOIT! If the Red Hat patches don't land, we want to hard code this. (JeffWaugh: ... or fix mailcap, by hardcoding or synchronising.)

  • Could this work be duplicated into thunderbird?

DefaultApplicationsFirefox (last edited 2008-08-06 16:32:37 by localhost)