Mailing List Archive

[issue1753371] Open always create new tab or new browser
Georg Brandl added the comment:

With Firefox, that's probably because you have set the default behavior
to "open a new tab", so there's nothing webbrowser.py can do about that.

In Windows, os.startfile() is used, which doesn't allow remote settings
like "new window" etc., so there's nothing webbrowser.py can do about
that, too.

Setting tentatively to "Won't fix".

----------
nosy: +gbrandl
resolution: -> wont fix
status: open -> pending

_____________________________________
Tracker <report@bugs.python.org>
<http://bugs.python.org/issue1753371>
_____________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1753371] Open always create new tab or new browser [ In reply to ]
Ilan Peleg
added the comment:

Hi there,
I Have only 2 lines in my programs which related to webbrowser.py.

1) import webbrowser
2) webbrowser.open(windowsPath) # Called many times.

In the following browsers [FastBrowser,Firefox,IE7,FrontPage] new tab
is created after each call. In IE6 new window is created.

Most of the time that behavior (many tabs) is nice feature but in some
scenarios it looks bad. I simply wish to have new tabs only when I ask
it.

Thanks
Ilan.

----------
type: -> behavior

_____________________________________
Tracker <report@bugs.python.org>
<http://bugs.python.org/issue1753371>
_____________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1753371] Open always create new tab or new browser [ In reply to ]
Ilan Peleg
added the comment:

Just to make sure I'm clear.
I don't wish new tabs neither new windows.
I wish all calls to webbrowser.open(path) to go the same tab or to the
same window when tabs are not supported or not requested.
Ilan.

_____________________________________
Tracker <report@bugs.python.org>
<http://bugs.python.org/issue1753371>
_____________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com