First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 47942
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Mozilla Gentoo Team <mozilla@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ernst Persson <ernstp@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
firefox firefox script used in debian unstable text/plain Don Seiler (RETIRED) 2004-04-27 12:05 0000 7.63 KB Details
Makefile Sorry, wrong bug. please disregard text/plain Josh Poimboeuf 2004-05-04 12:27 0000 23.85 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 47942 depends on: Show dependency tree
Bug 47942 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-04-15 11:00 0000
Yes, Gaim opens two FireFox windows every time I click a link in a chat window.
The second one comes after a small delay.
Latest Gaim, latest FireFox.

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Don Seiler (RETIRED) 2004-04-19 07:24:47 0000 -------
Are you double-clicking the link?

------- Comment #2 From Ernst Persson 2004-04-19 08:07:42 0000 -------
No.
Tried it right now.
All software latest ~ppc. Mozilla is not installed.
[ebuild   R   ] net-www/mozilla-firefox-0.8-r2  
[ebuild   R   ] net-im/gaim-0.76-r2  
[ebuild   R   ] gnome-base/gnome-desktop-2.6.0.1

Running a Gnome session. Doesn't matter if Firefox is running or not.
Gaim configured to "Firefox" and "New Window"

------- Comment #3 From Robert Davis 2004-04-22 07:35:04 0000 -------
Mine is set for Browser Default.  I wonder if Firefox is starting an instance
and then opening a new window for the gaim link?  Is one window blank and one
the gaim link?

------- Comment #4 From Don Seiler (RETIRED) 2004-04-27 11:38:04 0000 -------
Actually I can confirm this is happening on mine.

I suggest for Gentoo you try browser default for now since Gentoo has a wrapper script.

I'll dig around and see where they are calling it.

------- Comment #5 From Don Seiler (RETIRED) 2004-04-27 12:04:48 0000 -------
This doesn't happen for the debian folks, they also use a script for
/usr/bin/firefox but it looks to be one from the Mozilla team.

So this is definitely on our end.  If you wish to pursue it, this bug can be
re-assigned to the mozilla@gentoo.org team.  I'm CC'ing them now.  Otherwise
you'll have to accept "browser default" or use the manual command to specify
how you'd like to call firefox.

If you want to look at how gaim does it look for gaim_gtk_notify_uri function
in src/gtknotify.c.

------- Comment #6 From Don Seiler (RETIRED) 2004-04-27 12:05:48 0000 -------
Created an attachment (id=30172) [details]
firefox script used in debian unstable

Here is the script that debian users have in /usr/bin/firefox

------- Comment #7 From Ernst Persson 2004-04-29 10:54:04 0000 -------
No problem when using epiphany as browser.

------- Comment #8 From Don Seiler (RETIRED) 2004-04-29 11:51:41 0000 -------
Yeah I'm pretty sure that this is just a clash with what other distros are
doing in their firefox scripts and what we're doing on the Gentoo side.

Mozilla team, any thoughts?

------- Comment #9 From Aron Griffis (RETIRED) 2004-04-29 12:45:23 0000 -------
Yes, I plan to fix this

------- Comment #10 From Don Seiler (RETIRED) 2004-05-03 07:17:35 0000 -------
Just an FYI that I tried latest mozilla-launcher-1.5 and this still occurs when
there is an existing firefox window open.  If firefox is not running, then it
will just open a new window.

------- Comment #11 From Aron Griffis (RETIRED) 2004-05-03 08:13:12 0000 -------
Don, thanks for reporting.  I'll get this one figured out today.  It just keeps
wriggling off my plate.

------- Comment #12 From Josh Poimboeuf 2004-05-04 12:27:30 0000 -------
Created an attachment (id=30735) [details]
/var/tmp/portage/gaim-0.77/work/gaim-0.77/plugins/perl/common/Makefile

------- Comment #13 From Josh Poimboeuf 2004-05-04 12:29:57 0000 -------
Please disregard the last attachment.. Wrong bug.

------- Comment #14 From Aron Griffis (RETIRED) 2004-05-04 14:47:53 0000 -------
Fixed in mozilla-launcher-1.7, thanks

------- Comment #15 From Don Seiler (RETIRED) 2004-05-05 06:35:41 0000 -------
OK the duplicate window launch has gone away.  However not it doesn't launch
any window if firefox is not already open.  If firefox IS already open, it will
open a new window as desired.

------- Comment #16 From Don Seiler (RETIRED) 2004-05-05 07:19:05 0000 -------
For what it's worth, this is what gaim prints in the debug window:

gtknotify: Executing firefox -remote "openURL("http://gentoo.org",new-window)"

------- Comment #17 From Aron Griffis (RETIRED) 2004-05-05 08:33:11 0000 -------
rizzo, this wouldn't work with the debian script either.  The problem is that
gaim is too smart for itself.  It's trying to send a command to a running
firefox, but there's no running firefox.

If you use "new window" (in gaim) then it runs "firefox -remote
openURL(url,new-window)" which will only work when there is a browser running. 
gaim's "new tab" option is similar.

If you use "browser default" then it just runs "firefox url" which will always
work.  The mozilla-launcher script will start a new browser when appropriate,
otherwise it will honor MOZILLA_NEWTYPE in the environment.  The default for
MOZILLA_NEWTYPE is "window"

This isn't behavior I should attempt to "fix" in the mozilla-launcher script. 
Instead you should just use "browser default" and set MOZILLA_NEWTYPE to be
either "tab" or "window" in your environment.

------- Comment #18 From Don Seiler (RETIRED) 2004-05-05 08:48:28 0000 -------
That explanation works for me.  Thanks.

------- Comment #19 From Don Seiler (RETIRED) 2004-08-23 08:37:10 0000 -------
*** Bug 61067 has been marked as a duplicate of this bug. ***

------- Comment #20 From Don Seiler (RETIRED) 2004-08-23 08:39:07 0000 -------
*** Bug 61343 has been marked as a duplicate of this bug. ***

------- Comment #21 From Xake 2004-08-23 11:48:48 0000 -------
Is this not a bug in Firefox 0.9.3?
I have encountered the same problem in the windows-version of Firefox 0.9.3 and it had nothing to do with what program sends the link.
I have also encountered discussions about this behavor both in windows and linux-version(sorry, can't find the links right now).

Another thing I just don't like which I have seen is that Gaim is locked until both widnows is opened or if you choose to open into new tab in Gaim then Gaim is locked until the "Firefix - Select User Profile" window is closed. This window is produced by Firefox as it tries to open tab no 2 while the profile is in use.

As I thought that the "double-window" thing was a bug in Firefox 0.9.3 and the thing to do was to wait for the next version I filed a bug about what I saw as a another problem, but apperently it was a dup.

I still think "Firefox opens two windows" != "Gaim being locked by Firefox while Firefox being opened"
The lattest bug I at least have seen when my computer is over-loaded no matter if it is two windows or one being opened by Firefox.

First Last Prev Next    No search results available      Search page      Enter new bug