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 224807 - Netbeans offers 'Chrome' when only 'chromium' is installed
Summary: Netbeans offers 'Chrome' when only 'chromium' is installed
Status: RESOLVED DUPLICATE of bug 223957
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@web
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-13 10:09 UTC by everflux
Modified: 2013-07-19 11:36 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Chrome offered although not present (35.60 KB, image/png)
2013-01-13 10:09 UTC, everflux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description everflux 2013-01-13 10:09:11 UTC
[ BUILD # : 201301102100 ]
[ JDK VERSION : other ]

I have installed chromium and firefox on my system. Both are correctly offered
as run configurations by Netbeans. In addition "Chrome" is offered although it
is not installed.
Netbeans does (correctly?) not know at which path it should execute chrome, but
it can not be removed from the list of browsers or run configurations for HTML5
projects.
Comment 1 everflux 2013-01-13 10:09:43 UTC
Created attachment 130153 [details]
Chrome offered although not present
Comment 2 Vladimir Riha 2013-01-14 09:43:21 UTC
Default browser for HTML/JS projects is Chrome with NB integration and it is not recognized if it's missing. I think there is no harm in leaving it in list of run configurations (so user will know he can run it also in Chrome...). But perhaps following would be nice:
- Chrome is missing and Chromium present => change default configuration to Chromium
- both Chrome and Chromium are missing => change config to Embedded browser

These actions would be done (or offered?) on new project creation. The downside would be that if user does not have Chrome/Chromium, he might never know about option to run project in these browsers (since run configuration would be changed on project creation)...
Comment 3 Tomas Mysik 2013-07-19 11:03:24 UTC
(In reply to comment #2)
> Default browser for HTML/JS projects is Chrome with NB integration and it is
> not recognized if it's missing. I think there is no harm in leaving it in list
> of run configurations (so user will know he can run it also in Chrome...).

Looking into the code, Chrome browser is (on Unix) always present. I don't see any issue with that.

> But
> perhaps following would be nice:
> - Chrome is missing and Chromium present => change default configuration to
> Chromium
> - both Chrome and Chromium are missing => change config to Embedded browser

Could you please submit this as a new issue (if it is still valid)?

Thanks.
Comment 4 everflux 2013-07-19 11:32:38 UTC
> Looking into the code, Chrome browser is (on Unix) always present. I don't see any issue with that.

When that browser is not installed, why should it be offered?

At least on Linux/Ubuntu it is common that "chrome" is not installed, but "chromium" (if any of those at all).
Comment 5 Tomas Mysik 2013-07-19 11:36:57 UTC
See issue #223957. Feel free to provide your comments there please.

Thanks.

*** This bug has been marked as a duplicate of bug 223957 ***