After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 163827 - Can't change helper application used
Can't change helper application used
Status: RESOLVED INCOMPLETE
Product: epiphany
Classification: Core
Component: Downloads
unspecified
Other Linux
: High enhancement
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
: 310566 326958 329549 (view as bug list)
Depends on:
Blocks: 755382
 
 
Reported: 2005-01-12 16:41 UTC by Bastien Nocera
Modified: 2016-04-27 17:36 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
UI Mockup (20.26 KB, image/png)
2005-07-16 04:54 UTC, Aaron Kemp
Details

Description Bastien Nocera 2005-01-12 16:41:14 UTC
When opening a known file-type handled by multiple applications in Epiphany,
it's only possible to open the remote file/stream with the default application.

Example:
- I want to play a radio stream using Totem
- Click on the link, choose open: xine-ui is started (both handle the playlist
mime-type used)
I have no ways to knowing that:
1) Totem or xine-ui will be launched
2) Choose which of Totem or xine-ui should be launched, and the default
3) Know which mime-type or simply type the file I'm about to open is.

It should be possible to:
- Show the name of the file type to be opened, and which application it will be
opened with
- Show a list of possible helpers to use (only shown after opening with a
disclosure triangle?) to show a list of possible handlers
- A way to make some application the default (but the application list should
always be available!)
Comment 1 Thomas Vander Stichele 2005-06-03 10:20:33 UTC
I would like to add that an additional thing needs to be possible - it should be
easy to configure which applications to use *from the browser directly*.

Currently, here's how you're supposed to change the application:

a) DOWNLOAD the playlist file
b) OPEN it with nautilus (!!! the app that chose not to do the WEB any longer !!!)
c) GO to properties
d) CHANGE the default app there

My grandmother calls that unintuitive, but maybe it's just her.

I call it wrong, simply because a web server is in control of setting the
correct mime type, and when saving a file from a web server this information
does not get saved.  So we're left at the mercy of nautilus to figure out this
correct mime type, which it can really only get right by sheer luck in these
playlist file cases.

This might be a gnome-wide bug instead of epiphany specific, but how can this be
solved ?
Comment 2 Thomas Vander Stichele 2005-06-03 10:50:21 UTC
To clarify, my annoyance is more directed at myself for a) not knowing that this
is the way to do it these days; b) the weird way it needs to be done and c) the
embarassment because I'm just as much responsible for it being this way, since
I'm a GNOME hacker; and d) the embarassment at someone asking me today the exact
same thing, and having to give this answer, and making me feel like GNOME has
some fundamental problems :)

My frustration is in no way directed against epiphany developers, who make a
fine browser that I'm still using today.
Comment 3 Christian Persch 2005-07-03 13:30:36 UTC
So, when "Automatically download/open", let the user choose the first time; when
manually download/open, let the user choose every time?

How should the info be presented? An expander with a treeview? A combo box menu?
Comment 4 Bastien Nocera 2005-07-05 14:44:00 UTC
First the easy bit, change the "You can open it with another application or save
it." to "You can open it with MySuperApp or save it." so that the user knows
which application would be used.

An expander with a combobox and a checkbox (Which application, and whether to
make it the default) would be the best to hide the rest of the grit.
Alternatively, the buttons could be changed to be:
[Save As...] [Open With...] [Cancel] [Open]

Second solution looks best to me.
Comment 5 Aaron Kemp 2005-07-16 04:36:58 UTC
*** Bug 310566 has been marked as a duplicate of this bug. ***
Comment 6 Aaron Kemp 2005-07-16 04:50:58 UTC
I ran into this same issue tonight with my father.

I would be happy to work on and submit a patch, if it would be accepted.  I
filed a duplicate accidentally before seeing this bug.

Mozilla does this properly -- their dialog offers the option of:

  o Save this file to disk
  o Open this file with MySuperApp
  o Open this file with another application

                                    [Cancel] [OK]

The "open with another application" option could spawn the same dialog as right
clicking and saying "open with" in Nautilus.

(Note that my version of Epiphany 1.7.1 already *does* show the name of the
application)

I think I like the radio button + OK/Cancel approach best, or the four button
approach suggested by Bastien.  (I will attach a mockup).

Again, I will work on this and submit a patch if no one else is working on it
and if the Epiphany team approves of the change.
Comment 7 Aaron Kemp 2005-07-16 04:54:55 UTC
Created attachment 49279 [details]
UI Mockup

Proposed UI mockup to go with my previous comment.
Comment 8 Christian Persch 2005-07-29 20:18:39 UTC
UI freeze, so -> 1.10
Comment 9 Reinout van Schouwen 2005-09-01 12:18:07 UTC
The wording and layout of the download dialog has improved with 1.8, which makes
this bug a bit less severe, please test it out. 

It may or may not be a good idea to present a list of handlers under a
disclosure widget, like the nautilus Open With menu, but this would still depend
on the webserver communicating the correct MIME type.
Comment 10 Reinout van Schouwen 2005-10-09 13:18:54 UTC
Bastien: ping?
Comment 11 Christian Persch 2005-11-22 21:33:48 UTC
The dialogue now tells the application it's going to open it in. I think we
could add the "Choose another application" functionality with minimal code work
by using eel-mime-application-chooser (either by linking to eel [eek!] or by
c'n'p'ing the code).
Comment 12 Bastien Nocera 2005-11-23 16:03:50 UTC
cut'n'paste ;)
Comment 13 Reinout van Schouwen 2006-01-15 23:46:39 UTC
*** Bug 326958 has been marked as a duplicate of this bug. ***
Comment 14 Reinout van Schouwen 2006-02-02 11:00:38 UTC
*** Bug 329549 has been marked as a duplicate of this bug. ***
Comment 15 Reinout van Schouwen 2006-02-02 11:11:18 UTC
Bug 155119 has a (probably bitrotted) extension that implements Open With... in the link context menu.
Comment 16 Christian Persch 2006-02-03 13:38:25 UTC
-> 1.12 due to feature and UI freeze.
Comment 17 Christian Persch 2006-08-17 14:04:39 UTC
Mass changing target 2.16 -> 2.18
Comment 18 Christian Persch 2007-03-12 12:25:13 UTC
Moving to 2.20 target due to feature and UI freeze for 2.18.
Comment 19 Christian Persch 2007-08-27 20:42:57 UTC
Moving Severity:enhancement bugs off of 2.20 target.
Comment 20 Cosimo Cecchi 2007-12-20 17:30:35 UTC
eel-mime-application-chooser is now in libnautilus-private/nautilus-mime-application-chooser, which depends now on GIO, so this would mean making us depend on glib trunk or use the oldest gnome-vfs code in the gnome-2-20 eel branch.
Comment 21 Christian Persch 2007-12-20 17:54:48 UTC
Depending on gio (glib >= 2.15.0) is fine.
Comment 22 Cosimo Cecchi 2008-02-10 12:13:16 UTC
I'm making a patch for this, got it almost working, but before submitting it, I'd like to know what should be the best interface for this feature.
The options that have been proposed so far are:
- An expander with a combobox and a checkbox (the combobox would list the applications and the checkbox would make the selected one default)
- Add an "Open With..." button that pops up a nautilus-open-with-like dialog to choose the application (with the possibility to make it default for the type).
- Rework the dialog to make it use checkboxes instead of buttons, and then follow an approach similar to previous option.

I like the list of handlers to be presented under an expander, but kinda like the current dialog too. Could we just add an expander between the dialog secondary text and the buttons and keep just a "Open" button that opens the file with the default application or with the one selected under the expander if the user overridden it?
Comment 23 Thilo 2008-02-10 13:00:21 UTC
Maybe work with the actions that can be defined. Maybe we could have an Open with... default action?
Comment 24 Reinout van Schouwen 2008-02-13 00:42:39 UTC
The Open With... dialog also has an option to enter a command. Do we want/need this as well?
Comment 25 Michael Catanzaro 2016-02-28 05:43:07 UTC
I suppose this use-case is handled by the 'open in containing folder' button that I gave up trying to remove last week. Bastien, still want any changes here?
Comment 26 Michael Catanzaro 2016-04-27 17:36:32 UTC
Closing this bug as no further information has been provided.