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 588284 - mailto: links don't use the handler from gconf
mailto: links don't use the handler from gconf
Status: RESOLVED WONTFIX
Product: galeon
Classification: Deprecated
Component: general
2.0.7
Other Linux
: Normal normal
: ---
Assigned To: galeon-maint
galeon-maint
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2009-07-10 21:58 UTC by Fabio Bonelli
Modified: 2014-08-26 19:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (1002 bytes, patch)
2009-07-10 21:58 UTC, Fabio Bonelli
none Details | Review

Description Fabio Bonelli 2009-07-10 21:58:10 UTC
Clicking on mailto: links result in a "Choose application" dialog instead of using GNOME's preferred applications.

xulrunner-1.9/uriloader/exthandler/nsExternalHelperAppService.cpp:

[...]
if (!alwaysAsk && (preferredAction == nsIHandlerInfo::useHelperApp ||
                     preferredAction == nsIHandlerInfo::useSystemDefault))
    return handler->LaunchWithURI(uri, aWindowContext);

  nsCOMPtr<nsIContentDispatchChooser> chooser =
    do_CreateInstance("@mozilla.org/content-dispatch-chooser;1", &rv);
  NS_ENSURE_SUCCESS(rv, rv);

  return chooser->Ask(handler, aWindowContext, uri,
                      nsIContentDispatchChooser::REASON_CANNOT_HANDLE);

alwaysAsk is true because of nsExternalHelperAppService::SetProtocolHandlerDefaults
[...]
nsCAutoString warningPref(kExternalWarningPrefPrefix);
    warningPref += scheme;
    PRBool warn = PR_TRUE;
    nsresult rv = prefs->GetBoolPref(warningPref.get(), &warn);
    if (NS_FAILED(rv)) {
      // no scheme-specific value, check the default
      prefs->GetBoolPref(kExternalWarningDefaultPref, &warn);
    }
    aHandlerInfo->SetAlwaysAskBeforeHandling(warn);

warningPref is network.protocol-handler.warn-external.PROTO and should be false.

Ok to commit?
Comment 1 Fabio Bonelli 2009-07-10 21:58:45 UTC
Created attachment 138222 [details] [review]
Patch
Comment 2 André Klapper 2014-08-26 19:50:28 UTC
Galeon has not seen any code changes since May 2010:
https://git.gnome.org/browse/archive/galeon/log

This project is not under active development anymore and got recently archived in GNOME Git.

It is currently unlikely that there will be any further active development.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Please feel free to reopen this bug report in the future if anyone
takes the responsibility for active development again. 
If you are interested in maintainership, inform
https://mail.gnome.org/mailman/listinfo/desktop-devel-list