Bug 162572 - [Progress] CVS scheduled synchronizations not terminated, clutter Progress view
Summary: [Progress] CVS scheduled synchronizations not terminated, clutter Progress view
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform Team Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 167294
Blocks:
  Show dependency tree
 
Reported: 2006-10-27 11:30 EDT by Ed Burnette CLA
Modified: 2019-09-06 16:09 EDT (History)
4 users (show)

See Also:


Attachments
Progress view (22.47 KB, image/png)
2006-10-27 11:40 EDT, Ed Burnette CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Burnette CLA 2006-10-27 11:30:36 EDT
Eclipse 3.3M2
I have a schedule set up to syncronize to CVS every so often. After a while when I look at the Progress view I see tons of jobs sitting there in 'Sleeping' mode. I'll attach a screen shot.
Comment 1 Ed Burnette CLA 2006-10-27 11:40:03 EDT
Created attachment 52847 [details]
Progress view

Normally I have the schedule set to 1 hour but for demonstration purposes I set it to every 5 minutes.

I just discovered that when I click on 'Remove all finished operations' they all go away even though the square red 'cancel' icon indicates to me that they're not finished. If I press on the red cancel icon, the job changes from "(Sleeping)" to "(Cancelled)" but immediately a new "(Sleeping)" one comes up. Very strange.
Comment 2 Michael Valenta CLA 2006-12-18 09:34:47 EST
We set the KEEP_ONE Property so only one instance of the Job should be kept in the view. I suspect the issue may be related to the fact that we reschedule the job when it finishes running. This may throw off the Progress view and cause it to keep the extra entries around.
Comment 3 Tod Creasey CLA 2008-02-14 16:39:46 EST
The problem is that the CVS Job constantly creates new groups and then marks them as keep one

From RefreshParticipantJob

IProgressMonitor group = Platform.getJobManager().createProgressGroup();
group.beginTask(taskName, 100);
setProgressGroup(group, 80);
handleProgressGroupSet(group, 20);

		setProperty(IProgressConstants.KEEPONE_PROPERTY, Boolean.valueOf(! isJobModal()));

By resetting the group all of the time and then saying it needs to keep one I keep the result and then it gets rescheduled
Comment 4 Tomasz Zarna CLA 2008-02-18 10:31:08 EST
Seen that too. Also, turning off the schedule will mark all "(Sleeping)" jobs as "(Finished)".
Comment 5 Tod Creasey CLA 2008-02-19 08:10:07 EST
See Bug 167294 for the sleeping jobs issue (which is unrelated to this)
Comment 6 Eclipse Webmaster CLA 2019-09-06 16:09:34 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.