Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320681

Summary: [context] alt+click is slow with a large context
Product: z_Archived Reporter: David Green <greensopinion>
Component: MylynAssignee: Mylyn Inbox <mylyn-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: minor    
Priority: P3 CC: shawn.minto, steffen.pingel
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description David Green CLA 2010-07-22 19:13:55 EDT
Expansion of a package in the Package Explorer view is slow when alt+click is used.  The package contains 3 Java classes in the context and 8 Java classes not in the context.

By slow I mean that I can see the expansion occur.  It should appear to be instant.
Comment 1 Steffen Pingel CLA 2010-07-22 19:55:17 EDT
Can you describe what you mean by "you see the expansion occur"? Is this a problem with the way the UI is redrawn or is the delay caused by expensive computation, e.g. Java model loading? On Gtk it feels instant although I can't tell if there is a 200 ms delay.
Comment 2 David Green CLA 2010-07-23 22:07:33 EDT
(In reply to comment #1)
> Can you describe what you mean by "you see the expansion occur"? 

I mean that I can see elements appear one after the other, with enough delay between them that they don't appear together.

> Is this a
> problem with the way the UI is redrawn or is the delay caused by expensive
> computation, e.g. Java model loading? On Gtk it feels instant although I can't
> tell if there is a 200 ms delay.

I don't really know.  I am able to reproduce if you want to take a look.
Comment 3 Steffen Pingel CLA 2011-04-05 14:41:26 EDT
David, are you still seeing this?
Comment 4 David Green CLA 2011-04-05 18:27:52 EDT
It's not too bad when expanding a single Java package, however when expanding the root to expose filtered projects (I have 481 in my workspace) it's quite slow.
Comment 5 Sam Davis CLA 2014-04-30 20:17:56 EDT
The implementation is inherently slow for a large number of resources and I don't see this changing in the near future.