[Python-bugs-list] [ python-Bugs-812089 ] webbrowser.open_new() opens in an existing browser window

SourceForge.net noreply at sourceforge.net
Thu Sep 25 21:34:13 EDT 2003


Bugs item #812089, was opened at 2003-09-24 15:38
Message generated for change (Comment added) made by bram_cohen
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=812089&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Bram Cohen (bram_cohen)
Assigned to: Nobody/Anonymous (nobody)
Summary: webbrowser.open_new() opens in an existing browser window

Initial Comment:
I'm running Windows with Mozilla (version 1.4) as my

default web browser. When I call webbrowser.open_new()

using Python 2.3 it opens the url in an existing window

(if there are any) rather than opening a new one like

it's supposed to. This might in some way be an

interaction with tabbed browsing, since I always have a

bunch of tabs open.

----------------------------------------------------------------------

>Comment By: Bram Cohen (bram_cohen)
Date: 2003-09-25 18:34

Message:
Logged In: YES 
user_id=52561

This is very bizzare. When I execute this command -



C:\>"Program Files\mozilla.org\Mozilla\mozilla.exe" -remote

"openURL(http://www.bitconjurer.org/, new-window)"



it opens a new browser window with no page open in it. Are

you sure it's executing the command you said?

----------------------------------------------------------------------

Comment By: A.M. Kuchling (akuchling)
Date: 2003-09-25 11:42

Message:
Logged In: YES 
user_id=11375

It's invoking Mozilla with -remote "openURL(http://example.com, 

new-window)".  



According to http://www.mozilla.org/unix/remote.html, this should create 

a new window.  Try to run this command yourself and set if it opens a 

new tab; if it does, this is a Mozilla bug (or perhaps a feature?).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=812089&group_id=5470



More information about the Python-bugs-list mailing list