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 83603 - Proxy detection could work better
Summary: Proxy detection could work better
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Options&Settings (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-28 16:34 UTC by Petr Jiricka
Modified: 2011-11-04 11:31 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2006-08-28 16:34:41 UTC
The IDE currently attempts to detect the proxy settings when starting up. This
sometimes works, however it does not always work. On Windows, this settings is
taken from Internet Explorer settings. However, as I don't use Internet
Explorer, this setting is very often wrong. As I use Mozilla, the setting in
Mozilla is typically correct. So the IDE should look at Firefox in addition to
Internet Explorer. I suggest this could work as follows:

1. The IDE detects proxy settings from Internet Explorer
2. When it attempts to connect to the internet (e.g. to the update center) for
the first time and the connection fails, it detects the proxy settings from
Firefox and immediately tries to reconnect. 
3. If the Firefox settings succeed, it keeps the Firefox settings, otherwise it
keeps the IE settings and reports connection failure.
Comment 1 _ rkubacki 2006-09-04 16:28:47 UTC
Suggest to close as won't fix.

- most of software like antiviuses tries to reuse IE settings
- what about Mozilla's profiles and its user/system settings
- I'd prefer to use automatic proxy detection in java.net.* (you can try to run
with -J-Djava.net.useSystemProxies=true or modify this in net.properties file)
rather than finding this in IDE launcher.
Comment 2 Petr Jiricka 2006-10-09 17:33:10 UTC
> - most of software like antiviuses tries to reuse IE settings

I accept that, but that does not invalidate the original scenario. More
specifically, this happens when switching between work and home - at work proxy
is needed, at home it is not. In Firefox, switching between these is very easy
using the Proxy Button plugin, but in Internet Explorer it is not this easy, as
the settings are hidden deep in the menu and options dialog. So the situation
when IE settings are wrong is *very* common.

I can not comment on the implementation aspect.
Comment 3 Josef Pavlicek 2007-01-04 14:43:42 UTC
Please, solve it by this UI Spec
http://xdesign-tools.czech.sun.com:8080/JSPWiki/Wiki.jsp?page=JH_Proxy_Configuration_Dialog


I reviewed it
Josef Pavlicek
Comment 4 Josef Pavlicek 2007-01-08 12:16:15 UTC
The ProxyConfiguration UI spec is now public on 
http://ui.netbeans.org/docs/ui/proxyConfiguration/

Josef Pavlicek 
Comment 5 Petr Jiricka 2007-01-08 14:09:53 UTC
From what I see, the proposed UI spec does not address this particular request.