Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open always create new tab or new browser #45191

Closed
ilan91 mannequin opened this issue Jul 13, 2007 · 4 comments
Closed

Open always create new tab or new browser #45191

ilan91 mannequin opened this issue Jul 13, 2007 · 4 comments
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@ilan91
Copy link
Mannequin

ilan91 mannequin commented Jul 13, 2007

BPO 1753371
Nosy @birkenfeld

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2007-10-24.19:20:06.175>
created_at = <Date 2007-07-13.11:00:32.000>
labels = ['type-bug', 'library']
title = 'Open always create new tab or new browser'
updated_at = <Date 2007-10-24.19:20:06.174>
user = 'https://bugs.python.org/ilan91'

bugs.python.org fields:

activity = <Date 2007-10-24.19:20:06.174>
actor = 'georg.brandl'
assignee = 'none'
closed = True
closed_date = <Date 2007-10-24.19:20:06.175>
closer = 'georg.brandl'
components = ['Library (Lib)']
creation = <Date 2007-07-13.11:00:32.000>
creator = 'ilan91'
dependencies = []
files = []
hgrepos = []
issue_num = 1753371
keywords = []
message_count = 4.0
messages = ['32488', '55160', '55255', '55256']
nosy_count = 2.0
nosy_names = ['georg.brandl', 'ilan91']
pr_nums = []
priority = 'normal'
resolution = 'wont fix'
stage = None
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue1753371'
versions = ['Python 2.5']

@ilan91
Copy link
Mannequin Author

ilan91 mannequin commented Jul 13, 2007

Each call to webbrowser.open creates new tab with firefox and new windows with IE6.

There is no way to open subsequent files (local files) in the same tab or window.

@ilan91 ilan91 mannequin added stdlib Python modules in the Lib dir labels Jul 13, 2007
@birkenfeld
Copy link
Member

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".

@ilan91
Copy link
Mannequin Author

ilan91 mannequin commented Aug 24, 2007

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.

@ilan91 ilan91 mannequin added type-bug An unexpected behavior, bug, or error labels Aug 24, 2007
@ilan91
Copy link
Mannequin Author

ilan91 mannequin commented Aug 24, 2007

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.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant