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.

Bug 98110 - IDE ignores my default browser selection
Summary: IDE ignores my default browser selection
Status: RESOLVED DUPLICATE of bug 112547
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker with 1 vote (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-16 18:21 UTC by Pavel Buzek
Modified: 2008-11-17 21:34 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Buzek 2007-03-16 18:21:48 UTC
When I start a 6.0 build with clean user dir the IDE ignores my system default
browser selection and uses IE. My default browser is firefox. When I select
firefox in IDE options it starts using it.
Comment 1 oneofmany 2007-10-09 23:59:24 UTC
Me too.  I'm using NetBeans v5.5.1 on Vista 32-bit with firefox as my default browser.  It opened the help page in IE 
for me.
Comment 2 Pavel Buzek 2007-10-29 18:51:57 UTC
Cannot reproduce the problem any more, not sure if it's random or it's been fixed. Oneofmany can you test again?
Comment 3 _ gtzabari 2008-01-31 05:06:27 UTC
I see the problem with dev build 200801290002. I am fairly sure this is a regression and that 6.0 final didn't have this
problem.
Comment 4 pepijn 2008-03-15 16:08:39 UTC
Same thing happens for me. Just installed Netbeans 6.0.1 on Windows Vista Home Premium 32-bit / JDK 1.6.0_05. It had a 
NullPointerException (little stop icon in lower right corner). After submitting the error report it opened Internet 
Explorer even though in the options Netbeans is set to use the "Default System Browser," which is Firefox on my system.
Comment 5 m4g3 2008-06-04 14:45:38 UTC
This also happens in version 6.1
Comment 6 pepijn 2008-06-05 14:58:59 UTC
New data point: the other day I installed Amaya (http://www.w3.org/Amaya/), and now NetBeans opens that whenever it
needs to open a browser (such as when running a web application or when clicking on a link on the Start Page). This is
despite the fact that Firefox is still my default browser (as evidenced by the fact that it is listed as the Internet
browser on my Start menu, as well as being the program opened when I double click a URL on my desktop), as well as being
the default program for *.html files (as evidenced by the fact that it opens when I double click an *.html file).

A possible clue: Amaya is the first program listed under "Open With" when I right-click on a *.html file. Could NetBeans
be using the first program it finds associated with *.html files? That would be wrong for two reasons: it should be
using the *default browser*, which is a different concept than the program associated with HTML files, and if it did use
the program associated with HTML files it should be using the *default* program, not the *first* program.

I can also attest that this stil happens in version 6.1.

Could someone look in to this?
Comment 7 Peter Zavadsky 2008-09-02 19:48:28 UTC
I was trying to get some clues from the code, and it seems the default browser on windows uses following, it tries to
use DDE server to find and open the default browser. However I am not entirely sure how this impl works now :( .
Could somebody sum up the issue? It is that the default browser on the OS is set to firefox, but it is not reflected
when used the default browser in the options in NB?
Comment 8 Peter Zavadsky 2008-11-17 21:34:19 UTC
See the comment from pospisil in the duplicate issue.

*** This issue has been marked as a duplicate of 112547 ***