Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360602 - The progress bar does not update status when copying files in the deployment process
Summary: The progress bar does not update status when copying files in the deployment ...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 major (vote)
Target Milestone: ---   Edit
Assignee: Xiao Bin Chen CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-11 22:06 EDT by fahua jin CLA
Modified: 2017-02-23 14:17 EST (History)
4 users (show)

See Also:


Attachments
The screen-shot. (109.86 KB, image/jpeg)
2011-10-11 22:09 EDT, fahua jin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description fahua jin CLA 2011-10-11 22:06:41 EDT
Build Identifier: 0.7.0.v201110100901

When right click the dd file, and deploy the RUI project, the copy file progress is not correct. Please refer to the attached picture.

Reproducible: Always
Comment 1 fahua jin CLA 2011-10-11 22:09:55 EDT
Created attachment 204982 [details]
The screen-shot.
Comment 2 fahua jin CLA 2011-10-12 23:07:01 EDT
Jiyong, please help to set the owner to Jimmy, thanks.
Comment 3 fahua jin CLA 2011-11-02 21:16:46 EDT
This problem is also mentioned in Will's 28 question list, so I think this defect should have high priority. 

Below is the comments of Will,

19.  Enhancement: during deployment of a RUI app, the progress of the operation sits at 0% almost the entire time, even though it's clearly doing work. I know we are copying a lot of files and we may not know the true status of the operation, but we should do *something* more accurate than just showing 0%. Even setting IProgressMonitor.UNKOWN would be better ...
Comment 4 Tony Chen CLA 2011-11-10 21:29:23 EST
Set to major because they are things newer developers may run into fairly quickly
Comment 5 Xiao Bin Chen CLA 2011-11-11 07:12:25 EST
fixed.
Comment 6 fahua jin CLA 2011-11-13 21:41:43 EST
It has somewhat improvement than RBD now, but the progress update information is still not very accurate.

Verified in 0.7.0.v201111130901.
Comment 7 Brian Svihovec CLA 2011-11-14 13:19:53 EST
I noticed that this progress bar is setting the amount of work to unknown

- monitor.beginTask("", IProgressMonitor.UNKNOWN);

If Tony and Will think that the progress we are reporting is acceptable for .7, I think we should defer this until a future release.  An article on best practices for using progress monitors can be found here - https://www.eclipse.org/articles/Article-Progress-Monitors/article.html
Comment 8 Xiao Bin Chen CLA 2011-11-15 05:02:03 EST
(In reply to comment #7)
> I noticed that this progress bar is setting the amount of work to unknown
> 
> - monitor.beginTask("", IProgressMonitor.UNKNOWN);
> 
> If Tony and Will think that the progress we are reporting is acceptable for .7,
> I think we should defer this until a future release.  An article on best
> practices for using progress monitors can be found here -
> https://www.eclipse.org/articles/Article-Progress-Monitors/article.html

A new fix was committed for the IProgressMonitor.UNKNOWN, this fix will count the copy files number as the subMonitorProgress work numbers.
Comment 9 fahua jin CLA 2011-11-16 22:28:17 EST
It looks good to me now, verified in 0.7.0.v201111160901.