This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
My GNOME system (FC3) has Firefox installed but not Mozilla. Yet extbrowser on a fresh user dir always selects Mozilla as the default browser, so trying to open a URL fails. Should either 1. Check what browser executable is actually available and use it; Firefox is always preferable to Mozilla if both are available. 2. [Preferred] Use /usr/bin/gnome-open if available, which seems to work correctly on various URLs.
1 - Is there a way to check if the browser executable exists? We currently expect there's a firefox or mozilla command on your path, we don't set direct path to executable. 2 - Does gnome-open work also when KDE (or other winmgr) is used?
Could maybe just check for /usr/bin/mozilla vs. /usr/bin/firefox; those are the standard locations. I don't know anything about KDE but I would assume gnome-open would not work when running KDE. Probably some way to check for a running Gnome session, e.g. whether GNOME_DESKTOP_SESSION_ID is defined.
I agree that Firefox should be preffered if available. 2. is really preffered if we run the IDE in GNOME session (should be common for Solaris and Linux)
Firefox > Mozilla good enough for 1.5; for 1.6 see issue #67323.
committed Up-To-Date 1.23 extbrowser/src/org/netbeans/modules/extbrowser/resources/layer.xml