Bug 563780 - opt click to expand top-level folder hangs Eclipse
Summary: opt click to expand top-level folder hangs Eclipse
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.16   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Lakshmi P Shanmugam CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-01 00:48 EDT by Ari Kast CLA
Modified: 2020-07-06 04:14 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.