Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321198 - Process indicator not synchronized for push
Summary: Process indicator not synchronized for push
Status: RESOLVED WONTFIX
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Jens Baumgart CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 313865 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-29 05:32 EDT by Lars Vogel CLA
Modified: 2012-11-29 12:11 EST (History)
3 users (show)

See Also:


Attachments
Screenshot (10.32 KB, image/gif)
2010-07-29 05:32 EDT, Lars Vogel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Vogel CLA 2010-07-29 05:32:47 EDT
Created attachment 175461 [details]
Screenshot

According to https://bugs.eclipse.org/bugs/show_bug.cgi?id=295996 I should open a separate bug for the process indicator issue during push. 

The process indicator during push is not not correct. Please see attached
screenshot.
Comment 1 Jens Baumgart CLA 2010-08-12 10:31:35 EDT
Problem is the following: 
The main task is divided into subtasks. A sub task is pushing to one origin (a push Job can push to several origins).
In the progress View you see main task (0%) and below the progress of the sub task.
In the status bar only the progress of the main task ist shown which stays on 0% until the first sub task is done.
Found a small bug: monitor.worked is not called for the main task after completion of the sub task.
But this does not solve the initial problem (0% is shown for a long time in the status bar).
Comment 2 Lars Vogel CLA 2010-08-12 10:35:46 EDT
Would it be possible to show the process of one of the subtasks in the main bar? I think the main use case it that you push to one repo.
Comment 3 Jens Baumgart CLA 2010-08-12 11:50:18 EDT
Tried to directly use the given monitor instead of SubMonitor if there is only one push origin.
Nevertheless this does not work because the adapter between Eclipse and JGit progress monitoring already creates a SubProgressMonitor.

[This is a general problem in progress reporting: if the first sub task is long-running, the main task remains on 0%. A nicer progress reporting would include the subtask progress in the visualization of the main task progress.]
Comment 4 Jens Baumgart CLA 2010-08-31 04:00:35 EDT
*** Bug 313865 has been marked as a duplicate of this bug. ***
Comment 5 Lars Vogel CLA 2012-11-29 12:11:52 EST
I think the current behavior is ok. Closing my bug report as Won't fix.