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 125404

Summary: Progress in status line starts at 0%
Product: platform Reporter: Jaromir Uhrik <juhrik>
Component: Plugin ManagerAssignee: Libor Fischmeistr <lfischmeistr>
Status: NEW ---    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jaromir Uhrik 2008-01-16 16:19:54 UTC
Product Version: NetBeans IDE Dev (Build 200801160000)
Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119
System: Mac OS X version 10.5.1 running on i386; MacRoman; en_US (nb)

Steps to reproduce:
-Go to Tools|Plugins
-In Available Plugins tab invoke popup menu and select item "Check All"
-Push "Install" button
-Push "Next" button
-Accept license agreement and push "Install" button
-Wait until the progress is at e.g. 10%
-Select checkbox "Run in background"

->the Plugin manager disappears. When the progress appears in IDE status line it starts at 0% instead of 10%
Comment 1 dlipin 2008-11-14 12:50:22 UTC
Looks like the progress bar in the status line works with current vs total _number_ of plugins installed and the 
progress on the main window works with current vs total _download size_ of the plugins.
Jirka, right? Can it be the issue?

Another thing is the statement at lines 301, 394, 519 in
http://hg.netbeans.org/core-main/file/tip/autoupdate.ui/src/org/netbeans/modules/autoupdate/ui/wizards/InstallStep.java
that is 
totalUnits = totalUnits - processedUnits;

Looks like at this moment we switch the progress scale to a different value (and the switch main progress to status 
line progress (spareHandle)). 
Is it intentional or I don`t quite what`s going there?
Comment 2 Antonin Nebuzelsky 2008-11-14 15:31:57 UTC
Reassigning to the new "autoupdate/*" owner dlipin.