Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 62207 - Many fetching jobs
Summary: Many fetching jobs
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: CVS (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P2 critical (vote)
Target Milestone: 3.0 M9   Edit
Assignee: Michael Valenta CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 62246 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-13 22:04 EDT by Michael Valenta CLA
Modified: 2004-05-14 17:03 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Valenta CLA 2004-05-13 22:04:17 EDT
I don't know how I triggered it but I got a fecthing children job for every 
project in dev.eclipse.org when I performed a checkout with the toolbar 
checkout wizard. I choose an exisiting project from the list but somehow I 
also triggered the expansion of every item in the list. We need to add code to 
the wizard that will kill any jobs launch from the wizard (as was done in the 
repositories view)
Comment 1 Michael Valenta CLA 2004-05-13 22:29:55 EDT
I think this happens every time the list of existing projects is enabled. I 
suspect that the content provider hasChildren is being called which leads to 
the fetching.
Comment 2 Michael Valenta CLA 2004-05-14 09:13:49 EDT
*** Bug 62246 has been marked as a duplicate of this bug. ***
Comment 3 Markus Keller CLA 2004-05-14 09:24:55 EDT
I don't know whether that's the problem here, but I remember there was a
discussion about a change in TreeViewer's behaviour when filters are installed:
The TreeViewer should pre-fetch all children to determine whether the '+' sign
should be drawn in front of a tree item (should not be drawn iff all children
are filtered away).
Comment 4 Michael Valenta CLA 2004-05-14 09:33:29 EDT
I don't think there are any filters installed in this case but it's good to 
know just in case. Thanks.
Comment 5 Michael Valenta CLA 2004-05-14 09:46:14 EDT
I was wrong. There are filters and that is exactly the problem. Thanks for the 
heads up.
Comment 6 Michael Valenta CLA 2004-05-14 10:05:20 EDT
This seems like a breaking change on the part of UI. I have logged bug 62268 
but I doubt anything can be done since we are API frozen so I'll try and get 
the filtering another way.
Comment 7 Michael Valenta CLA 2004-05-14 10:22:35 EDT
Didn't mean to send this to UI. I have removed the filter. The result is that 
the files are displayed but cannot be checked out. Leaving open for now. If UI 
fixes bug 62268, we'll add the filter back. If not we either have to find 
another way to remove the files or at least disable selection of them.
Comment 8 Michael Valenta CLA 2004-05-14 17:03:50 EDT
Subclassed TreeViewer to change isExpandable computation