Bug 563780

Summary: opt click to expand top-level folder hangs Eclipse
Product: [Eclipse Project] Platform Reporter: Ari Kast <arikast>
Component: SWTAssignee: Lakshmi P Shanmugam <lshanmug>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: lshanmug, rgrunber, stephan.herrmann
Version: 4.16   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Ari Kast CLA 2020-06-01 00:48:15 EDT
1. in package explorer of any project, locate the top-level folder, ie the project name
2. opt-click (on a mac) the arrow to its left, which normally should expand all subfolders
3. Eclipse hangs indefinitely, every time
Comment 1 Ari Kast CLA 2020-06-01 11:03:11 EDT
To clarify, "opt-click" means holding down the option key while clicking, which on a Mac would normally open all subfolders recursively.

This hanging behavior happens even on very small projects with shallow folder depth.  If the top level folder is already opened however, then directly opt-clicking one of its subfolders works as expected.
Comment 2 Roland Grunberg CLA 2020-06-02 12:29:01 EDT
Version: 2020-06 (4.16)
Build id: I20200525-1800

I'm not sure if there's a way to do this on Linux, but I have found similar behaviour with [ctrl] + [shift] + [right], which seems to expand all entries, 1 "level" at a time. I tried it on some JDT UI projects.

The expansion from project -> libraries/packagefragmentroots -> package fragments is fairly responsive, but hitting the key combination from above beyond this point (into classes and their members) causes a massive hang. I wonder if this is just a performance issue with tree expansions as this happens for the package and project explorers.
Comment 3 Roland Grunberg CLA 2020-07-03 11:56:05 EDT
Moved to Platform - SWT as this seems like a better place. Feel free to mark as duplicate of a known Tree performance bug if this seems to fall along those lines.
Comment 4 Lakshmi P Shanmugam CLA 2020-07-06 04:14:36 EDT
(In reply to Ari Kast from comment #0)
> 1. in package explorer of any project, locate the top-level folder, ie the
> project name
> 2. opt-click (on a mac) the arrow to its left, which normally should expand
> all subfolders
> 3. Eclipse hangs indefinitely, every time

I can see the problem in Eclipse Package/Project Explorer, happens with older Eclipse versions too. Will investigate.