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

Bug 330079

Summary: [About] About -> Installation Details hangs the UI
Product: [Eclipse Project] Platform Reporter: Gary Karasiuk <karasiuk>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: remy.suen
Version: 3.6.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug
Attachments:
Description Flags
screen shot of UI Thread
none
couple stacj traces none

Description Gary Karasiuk CLA 2010-11-12 07:58:21 EST
When you have a large adopting product, with many plug-ins, the function:

Help->About->Installation Details

will hang the UI (i.e. the window won't repaint and the menu items will go white).
On my reasonably fast system (Quad core Q6600) the hang lasts for 20 seconds.

I think it is ok for the function to take 20 seconds (although faster would be nice), but it should not hang the UI thread, while it is running.
Comment 1 Gary Karasiuk CLA 2010-11-12 08:02:52 EST
Created attachment 182986 [details]
screen shot of UI Thread
Comment 2 Gary Karasiuk CLA 2010-11-12 08:06:46 EST
I can attached a Yourkit profile of this UI hang, if you would find that useful. Let me know if you would like it. (It is only 1.6 MB).
Comment 3 Remy Suen CLA 2010-11-12 09:25:32 EST
Susan, this looks to me like it's an issue with the implementation of p2's content provider, what do you think?
Comment 4 Gary Karasiuk CLA 2010-11-30 06:24:54 EST
Any updates?
Comment 5 Susan McCourt CLA 2010-12-15 14:16:05 EST
(In reply to comment #4)
> Any updates?

It would be useful to have more information.
The Your Kit profile certainly can't hurt.

Specifically, I'd like to know what query is being executed in
ElementQueryDescriptor.performQuery, as this query seems to be taking all the time, and since we are only querying the profile's contents (vs. going to a remote repository), it's not clear to me why this should take so long.

The installation details use the progress service's asynch content provider so that the UI will not hang as content is being fetched, so I'll also need to look at the use of the UI job here.
Comment 6 Gary Karasiuk CLA 2011-01-12 15:27:08 EST
Created attachment 186669 [details]
couple stacj traces

It has gotten much better in 3.6.2. The hang is down to 6 seconds.  I attached a zip file that has two stack traces that were taken during the hang.
Comment 7 Lars Vogel CLA 2019-09-24 13:50:17 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.

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.