Bug 508740 - Expand all in Project Explorer very slow or hangs
Summary: Expand all in Project Explorer very slow or hangs
Status: REOPENED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.6   Edit
Hardware: PC Windows 7
: P3 normal with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-06 08:37 EST by David Balažic CLA
Modified: 2020-06-06 11:31 EDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Balažic CLA 2016-12-06 08:37:37 EST
I noticed this in C++ (CDT) and Java projects.

If I focus on the root object of a project in the Project Explorer and press the star key (*), it seems to expand to huge amount of objects (the scroll bar starts to shrink) and the GUI stops responding.

It seems to hang.

Replicating it on a simple project show, that it is not hung, just doing an awful lot of work.

Try this:
 - create a new workspace and open it
 - create a new "Java Project"
 - create one new class file
 - focus on the projects (root) item in Project Explorer
 - press * (like on numeric keypad)

It takes 10 or so seconds to expand everything to the last detail (like class member variables in all the system JAR files).
(and after I checked, not all jar files are fully expanded - another bug?)


On real projects it takes minutes with no end in sight. Then the user has no choice but kill it (and by that almost certainly corrupt the workspace). Or wait for days...


Either the operation should be blocked (not allowed/executed) or limited to some depth (like only expanding to file level).

The version where tested:

Eclipse Java EE IDE for Web Developers.
Version: Neon.1a Release (4.6.1)
Build id: 20161007-1200
Comment 1 Anders Jacobsen CLA 2017-07-07 03:11:41 EDT
I can confirm this behavior with Java projects in Neon 4.6.3 (20170314-1500) and Windows 10.
Comment 2 Eclipse Genie CLA 2020-04-26 14:26:03 EDT
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. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. 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.

--
The automated Eclipse Genie.
Comment 3 David Balažic CLA 2020-05-13 07:37:47 EDT
(In reply to David  Balažic from comment #0)
> 
> Try this:
>  - create a new workspace and open it
>  - create a new "Java Project"
>  - create one new class file
>  - focus on the projects (root) item in Project Explorer
>  - press * (like on numeric keypad)
> 
> It takes 10 or so seconds to expand everything to the last detail (like
> class member variables in all the system JAR files).

This still happens. It takes more than a minute to do this, during which Eclipse is (b)locked, unusable.

Eclipse IDE for Enterprise Java Developers.

Version: 2020-03 (4.15.0)
Build id: 20200313-1211


java.runtime.version=11.0.7+8-LTS
Comment 4 Paul Pazderski CLA 2020-05-13 08:37:35 EDT
Same for I20200510-1800.
Comment 5 Morris Wang CLA 2020-06-06 11:31:54 EDT
It happens on the following IDEs on my PC (Windows 10 Enterprise)

Eclipse IDE for Java Developers (Version: 2019-06(4.12.0)
Eclipse IDE for Enterprise Java Developers (Version: 2020-03(4.15.0)
Spring STS 4.4

I am wondering if this is OS related. I don't recall seeing this ever on my windows 10 Home PC or any previous OS.