[ python-Bugs-1681228 ] webbrowser priorities
SourceForge.net
noreply at sourceforge.net
Thu Mar 15 09:03:06 CET 2007
Bugs item #1681228, was opened at 2007-03-15 09:03
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1681228&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Lukas Lalinsky (luks)
Assigned to: Nobody/Anonymous (nobody)
Summary: webbrowser priorities
Initial Comment:
Recently I've run into a Windows-specific bug in webbrowser (using close_fds and preexec_fn in subprocess.Popen), and I noticed there are some strange priorities in the default browsers.
For example:
* Why is firefox, firebird, seamonkey, mozilla, netscape and opera preferred over the *user's* preferred browser on Windows?
* Why is the GNOME default browser preferred even if the user is currently running KDE (but has GNOME installed)?
>From all the platforms, only on Mac OS X it really respects the user's preferrencies.
I'd like to propose this:
* On Windows, make "windows-default" the first in _try_order
* If the user is running GNOME ("GNOME_DESKTOP_SESSION_ID" in os.environ) and command "gnome-open" exists, use `gnome-open '%s'`.
* If the user is running KDE (os.environ.get("KDE_FULL_SESSION") == "true") and command "kfmclient" exists, use `kfmclient exec '%s'`.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1681228&group_id=5470
More information about the Python-bugs-list
mailing list