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 116129 - selecting predefined web browser clears custom browser command in gnome-default-applications-properties
selecting predefined web browser clears custom browser command in gnome-defau...
Status: RESOLVED WONTFIX
Product: gnome-control-center
Classification: Core
Component: [obsolete] Preferred applications
2.23.x
Other All
: Normal enhancement
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-06-27 16:26 UTC by Toni Willberg
Modified: 2010-12-07 16:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Toni Willberg 2003-06-27 16:26:30 UTC
control-center-2.2.2-1
rawhide-release-20030621-1
gnome-default-applications-properties

-> preferred applications -> web browser -> custom web browser
-> type something into the command
-> click on "select a web browser"
-> note that the command you typed was lost

Suggested behaviour:

The custom command should not be erased or modified regardless what is
selected from "select a browser" line.

ps. what would be correct component for this bug?
Comment 1 Andrew Sobala 2003-06-27 16:54:53 UTC
Triaging.

This is the right component; I need to fix that sometime.
Comment 2 Dave Bordoley [Not Reading Bug Mail] 2003-07-05 19:20:46 UTC
Just cuz I'm curious, what actually uses this pref. As far as i can
tell most apps that need to launch a browser use gnome_vfs_url_show or
its sister libgnome function. This function uses the html: scheme
handler not the this pref.
Comment 3 Christian Neumair 2003-07-26 09:21:50 UTC
The problem is that they share one GConf key, so we'd need to split
the thingie: Have a custom_command, select_command and
use_custom_command key.
This would make the beast much more complex.

regs,
 Chris
Comment 4 Andrew Sobala 2003-09-25 15:45:07 UTC
Reassigning preferred applications bugs into the component that, for some
reason, didn't exist until now. Filter for "Andrew doing reassignment work" to
get rid of this e-mail spam.
Comment 5 Toni Willberg 2005-06-26 17:45:29 UTC
Updating version, the problem still exists. Lowering severity to enhancement.
Comment 6 Thomas Wood 2008-04-18 22:44:14 UTC
This problem actually exists in all handler options.
Comment 7 Thomas Wood 2008-04-18 22:45:26 UTC
Perhaps adding an additional "custom" gconf key to the URL handlers would solve this problem? This could be used to store the custom command when it is not selected.
Comment 8 Jens Granseuer 2008-04-19 10:41:16 UTC
Do we really need to preserve this in GConf, or would just keeping it in memory for the remainder of the settings "session" suffice?
Comment 9 Christian Neumair 2008-04-25 22:39:09 UTC
Jens: It will not be possible to remember it for the rest of the session, but at least as long as the window is open.

Updating version.

I wonder how important this feature is, since now we have additional widgets for chosing among the most common web browser invocation variants (i.e. "Open link in new tab").
Comment 10 Jens Granseuer 2008-04-26 11:33:47 UTC
(In reply to comment #9)
> It will not be possible to remember it for the rest of the session, but
> at least as long as the window is open.

That's what I referred to as a "settings "session"". Hence the quotation marks.
Comment 11 Thomas Wood 2008-04-26 15:02:21 UTC
Sounds sensible. If one of the predefined items is selected when the capplet is opened, then I presume the custom exec entry should be blank (as well as insensitive).
Comment 12 Calum Benson 2008-05-03 00:09:31 UTC
Personally I think it ultimately would be better to store the custom entries completely separately... it would be a bit annoying if I periodically (over the course of a few days/weeks/months) switched between a predefined and a custom application, and had to re-type the custom command line every other time I opened the dialog.  (Particularly if the custom command line included hard-to-remember arguments.)

I appreciate the extra complexity this would add to the code, though.
Comment 13 Osama Khalid 2010-08-24 22:36:45 UTC
I agree that it should keep the custom entry even after closing the window, but I think it's also important to show the predefined commands.

 I suggest that gconf should have a 'custom_command' entry that's shown in the text field only when 'Custom' is selected, otherwise the predefined command is shown in the text field.
Comment 14 Bastien Nocera 2010-12-07 16:41:02 UTC
The custom entry is gone in GNOME 3, so this won't be a problem any more. If you wish to add a new mailer, create a .desktop file which would handle the "x-scheme-handler/mailto" mime-type, and which launches your preferred mailer.