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 152330 - auto detect action is happening automatically
Summary: auto detect action is happening automatically
Status: RESOLVED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: Projects (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Lou Dasaro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-04 18:12 UTC by Peter Lam
Modified: 2015-05-17 17:31 UTC (History)
0 users

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 Peter Lam 2008-11-04 18:12:12 UTC
Product Version: NetBeans IDE 6.5 RC2 (Build 20081104041628)
Java: 1.6.0_07; Java HotSpot(TM) Client VM 10.0-b23
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)

The Auto Detect action should not be invoked automatically until users select to do it.

Repro steps:
- starting ide from a new fresh userdir
- bring up Platform Manager and only the default bundled Jython 2.5 is listed
- close the Platform Manager
- bring up Platform Manager again. this time my two other pythons 2.5.2 and 2.6 are now listed along with Jython 2.5 but
I didn't request to detect them.
Comment 1 ardavis26 2008-11-04 18:36:05 UTC
How is this a defect.  The ruby modules auto detect my cruby on linux.  
That was the model I was following.  is this wrong?
Comment 2 Peter Lam 2008-11-04 18:44:01 UTC
It's not wrong and I haven't compared to others. I thought that we don't intend to do auto detect because the first time
I brought up the Platform Manager it's not there, but then it happened when I brought it up again. So, the behavior is a
bid unexpected, perhaps call it inconsistent instead. If we intend to do auto detect, I expect to see it consistently so
it does it too on an initial platform manager invocation. what do you think?
Comment 3 Lou Dasaro 2015-05-17 17:31:07 UTC
Was fixed at ln 187 of PythonPlatformManager.java
The first time PythonPlatformManager is "touched", Autodetect is invoked automatically.
On subsequent entry into PythonPlatformManager, Autodetect is not invoked, unless you press the Autodetect button.