Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330079 - [About] About -> Installation Details hangs the UI
Summary: [About] About -> Installation Details hangs the UI
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-12 07:58 EST by Gary Karasiuk CLA
Modified: 2019-09-24 13:50 EDT (History)
1 user (show)

See Also:


Attachments
screen shot of UI Thread (33.50 KB, image/gif)
2010-11-12 08:02 EST, Gary Karasiuk CLA
no flags Details
couple stacj traces (2.94 KB, application/octet-stream)
2011-01-12 15:27 EST, Gary Karasiuk CLA
no flags Details

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