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 223957 - Options Dialog - Browsers list contains options not installed on the machine
Summary: Options Dialog - Browsers list contains options not installed on the machine
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: 7.3
Hardware: PC Linux
: P4 normal (vote)
Assignee: Jan Stola
: 224807 234734 234753 (view as bug list)
Depends on:
Reported: 2012-12-18 03:14 UTC by manikantannaren
Modified: 2015-01-28 13:47 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

Non-existent browsers shown in the drop down. (184.68 KB, image/png)
2012-12-18 03:16 UTC, manikantannaren

Note You need to log in before you can comment on or make changes to this bug.
Description manikantannaren 2012-12-18 03:14:59 UTC
[ BUILD # : 201212140001 ]
[ JDK VERSION : 1.7.0_09 ]

Test specification

The browser test spec says that the drop down of Browser options should show
only the browsers installed on the machine. Where as I can see the contrary. I
can assure you that I have only Firefox on the box.
Comment 1 manikantannaren 2012-12-18 03:16:42 UTC
Created attachment 129488 [details]
Non-existent browsers shown in the drop down.
Comment 2 manikantannaren 2012-12-18 03:17:10 UTC
I double checked with a clean user and cache directory too.
Comment 3 Petr Jiricka 2012-12-18 10:24:24 UTC
Not sure if this needs to be fixed in the options dialog or in extbrowser module.
Comment 4 Theofanis Oikonomou 2012-12-18 11:52:52 UTC
The checkbox with available browsers is populated by HtmlBrowser.getTags (o.n.core). AFAICT no filtering is done in GeneralOptionsPanel (core.ui). I am not sure if this is the intended functionality. re-assigning for evaluation. Thank you
Comment 5 Tomas Mysik 2013-07-19 11:12:13 UTC
@vriha: Láďo, could you please have a look at it? Is the test specification correct? Looking into the code for e.g. Chrome, there is some detection done but only for Windows and not for other systems. I can imagine that NetBeans will always show a "standard" list of browsers as well as that we will filter it (and show only installed browsers).

Comment 6 Vladimir Riha 2013-07-19 11:30:46 UTC
The specification seems to be fairly old and I don't know if this ever worked. As far as I remember it looks the same. I think that it detects also IE on Windows and I guess Safari on Mac.

I would consider it to be maybe P4 or wontfix and update the test specification. There is no harm if there are browsers not installed on your system and if you try to use them, there is a dialog saying "cannot execute external browser, please check your configuration" so you know what to do.
Comment 7 Tomas Mysik 2013-07-19 11:35:12 UTC
Comment 8 Tomas Mysik 2013-07-19 11:36:57 UTC
*** Bug 224807 has been marked as a duplicate of this bug. ***
Comment 9 Vladimir Riha 2013-08-22 07:49:21 UTC
*** Bug 234753 has been marked as a duplicate of this bug. ***
Comment 10 Vladimir Riha 2013-08-22 14:06:32 UTC
*** Bug 234734 has been marked as a duplicate of this bug. ***