Bug 130221 - [CommonNavigator] should try to implement lazy tree expansion in background to make it more responsive
Summary: [CommonNavigator] should try to implement lazy tree expansion in background t...
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Francis Upton IV CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: performance
: 130560 174693 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-02 15:54 EST by Raj Mandayam CLA
Modified: 2019-11-14 03:30 EST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raj Mandayam CLA 2006-03-02 15:54:10 EST
The Project Explorer takes a long time to expand the nodes (it takes long the
first time because of plug-in activations, )

Try expanding the nodes (Dynamic Web Project, EJb project, Enterprise...) 

Even after that try expanding a project node it takes time.

Its a generic problem for which has Eclipse has a soln in place from 3.0, 
Lazy tree expansion

The DeferredTreeContentManager is already in place in eclipse

I am sure the Project Explorer guys may have already encountered this solution
before, I am not sure
why they have not implemented it.

By playing around with it I have implemented it in the project explorer in my
workspace,
its not too hard, I only had to implement 2 classes and make a couple of
changes here and there.

The treeviewer expands very quickly and is more UI responsive.

Let me know if you need any info. I will send the files to Michael Elder too.
Comment 1 John Lanuti CLA 2006-03-06 10:39:05 EST
*** Bug 130560 has been marked as a duplicate of this bug. ***
Comment 2 Michael D. Elder CLA 2006-03-28 15:47:06 EST
The CN framework supports ITreeContentProvider and ITreePathContentProvider. There is a DeferredContentManager for ITreeContentProvider, but none for ITreePathContentProvider. As such, I don't think that this can be fixed without significant code from the ground up. Therefore, I do not think that this can be contained in 3.2. 
Comment 3 Francis Upton IV CLA 2009-02-08 13:43:42 EST
(In reply to comment #0)

> By playing around with it I have implemented it in the project explorer in my
> workspace,
> its not too hard, I only had to implement 2 classes and make a couple of
> changes here and there.
> 
> The treeviewer expands very quickly and is more UI responsive.
> 
> Let me know if you need any info. I will send the files to Michael Elder too.
> 

I'm interested, can you submit a patch?
Comment 4 Francis Upton IV CLA 2009-02-09 00:55:47 EST
*** Bug 174693 has been marked as a duplicate of this bug. ***
Comment 5 Francis Upton IV CLA 2009-02-09 02:36:19 EST
Hey Boris,

Do you think this is worth doing?  I mean will it provide a substantial
performance benefit and is the amount of work manageable.  I don't know too
much about the UI Deferred support stuff which I assume works somehow with the
SWT.VIRTUAL trees.  I saw somewhere though that Windows does not really support
virtual trees.  I would be interested in your thoughts.
Comment 6 Lars Vogel CLA 2019-11-14 03:30:54 EST
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.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.