Bug 133713 - (firefox & thunderbird) remove or fix default app check
Summary: (firefox & thunderbird) remove or fix default app check
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Christopher Aillon
QA Contact:
: 135578 (view as bug list)
Depends On:
Blocks: FC3Target 131589
TreeView+ depends on / blocked
Reported: 2004-09-26 18:50 UTC by Bill Nottingham
Modified: 2014-03-17 02:48 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2004-10-20 03:05:39 UTC

Attachments (Terms of Use)

Description Bill Nottingham 2004-09-26 18:50:17 UTC
My default web browser is 'firefox %s'.

firefox complained that it wasn't the default, and helpfully changed
it to /usr/lib/firefox-<blah>/firefox %s.

Which breaks how it opens new windows.

Comment 1 Warren Togami 2004-09-27 02:40:38 UTC
Totally in agreement.  It should check and set "firefox %s" exactly as
/usr/bin/gnome-default-applications-properties does so.

Comment 2 Warren Togami 2004-10-07 08:25:31 UTC
This fixes the setting of the gconf keys, but I don't understand
nsGNOMEShellService::IsDefaultBrowser() in nsGNOMEShellService.cpp
where the checking part must also be fixed.

--- mozilla/browser/components/shell/src/nsGNOMEShellService.cpp.orig
  2004-10-06 18:20:53.279343935 -1000
+++ mozilla/browser/components/shell/src/nsGNOMEShellService.cpp     
  2004-10-06 18:21:25.317972727 -1000
@@ -228,7 +228,7 @@
   nsCOMPtr<nsIGConfService> gconf =

   nsCAutoString schemeList;
-  nsCAutoString appKeyValue(mAppPath + NS_LITERAL_CSTRING(" \"%s\""));
+  nsCAutoString appKeyValue(NS_LITERAL_CSTRING("firefox %s"));
   unsigned int i;

   for (i = 0; i < NS_ARRAY_LENGTH(appProtocols); ++i) {

Comment 3 Christopher Aillon 2004-10-07 17:57:20 UTC
It has no business even checking at all. 

Comment 4 Warren Togami 2004-10-08 07:21:17 UTC
Ok, then the check should be removed from both firefox and thunderbird.

Comment 8 Warren Togami 2004-10-13 20:27:59 UTC
*** Bug 135578 has been marked as a duplicate of this bug. ***

Comment 9 Christopher Aillon 2004-10-20 03:05:39 UTC
I got this for firefox, and looks like blizzard nailed it for
thunderbird.  Marking RAWHIDE

Note You need to log in before you can comment on or make changes to this bug.