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 194360 - [70cat][installer] Cancelling the installer preparation before it begins requires the installer to complete the entire preparation before canceling.
Summary: [70cat][installer] Cancelling the installer preparation before it begins requ...
Status: RESOLVED WONTFIX
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: All All
: P4 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-14 17:23 UTC by esmithbss
Modified: 2012-05-09 09:30 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 esmithbss 2011-01-14 17:23:39 UTC
Product Version = NetBeans IDE Dev (Build 201101140000)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_22
Runtime = Java HotSpot(TM) Client VM 17.1-b03

During an installation I attempted to cancel the install once the installer dialog appeared, but before the installer had actually performed any configuration. 
The command line log window showed the receipt of the cancel command and the comment that the installer had to complete the current operation.  At that point, about 5 seconds later, the progress bar began slowly marking progress while the command line log began showing the installer being configured.

Even if the user request to cancel the installation in the middle of configuration, the installer should not waste more time and attempt to complete the initialization step before canceling the installation.  Cancellation should be almost immediate and not wait for the IDE to examine each JVM that it found, or validate the integrity of the Jars, or whatever else is being done.

The currently exhibited behavior is one where the cancellation sets a flag and the only component that checks the flag is the master controller.  Instead, each sub component (config, get user input, create folders, copy files, etc...) should check the flag as well.
Comment 1 Jiri Rechtacek 2012-03-29 15:26:05 UTC
A fix of issue 205702 speeds up installer preparation thus this problem is not so urgent IMHO. Decreased to P4.
Comment 2 Libor Fischmeistr 2012-05-09 09:30:44 UTC
If we wanted to fix this and to make the installer quit immediately after Cancel button was clicked we would have done quite huge changes into logic. And that would be noneffective to do it due to the time while configuration runs has become really short. On a average computer it is so fast that you are not usually able to click on Cancel button.

Changing state to WONTFIX.