Bug 181935 - Problem fetching Red Hat bugzilla Icon
Summary: Problem fetching Red Hat bugzilla Icon
Alias: None
Product: Fedora
Classification: Fedora
Component: eclipse-bugzilla   
(Show other bugs)
Version: rawhide
Hardware: All Linux
Target Milestone: ---
Assignee: Jonathan Blandford
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2006-02-17 20:25 UTC by Igor Foox
Modified: 2013-04-02 04:20 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-09-11 14:26:21 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Igor Foox 2006-02-17 20:25:28 UTC
Description of problem:
There is a problem when fetching the favicon for the Red Hat bugzilla, this
happens only with GCJ. The slowdown is not in the actual fetching of the icon,
but seems to happen in one of the Listeners that get notified of the event

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.Open the Bug Systems view.  
2.Right click, select Add Bug System. Add the Red Hat bugzilla specifically from
the drop down selection list.
3.Click Finish.
Actual results:
The UI hangs for a minute or so.

Expected results:
UI should not hang, icon fetching should not take more than a few seconds.

Additional info:

Comment 1 Andrew Overholt 2006-02-17 21:39:26 UTC
I've tracked this down to an issue in AbstractTreeViewer and StructuredViewer
(both in org.eclipse.jfact.viewers).  In AbstractTreeViewer.createTreeItem, a
call is made to StructuredViewer.updateItem.  This updateItem call is taking a
very long time when item = TreeItem {Red Hat 
[https://bugzilla.redhat.com/bugzilla]} but not when item = TreeItem {Apache 
[http://issues.apache.org/bugzilla/]}.  I don't know why ...

More concerning to me is that we're somehow ending up in parts of JFace that say
"EXPERIMENTAL.  Not to be used except by JDT."  The call hierarchy in our case
looks like this:

AbstractTreeViewer.internalRefresh(Widget, Object, boolean, boolean)
AbstractTreeViewer.internalRefresh(Object, boolean)
StructuredViewer.refresh(final Object element)

I wonder if we're somehow using TreeViewer incorrectly.  An interesting
experiment would be to see how this performs on 3.2

Performance numbers:

Sun:  ~3 seconds for adding both Apache and Red Hat bugzillas
gij:  ~4 seconds for adding Apache, ~65 seconds for adding Red Hat (interpreted)

Comment 2 Red Hat Bugzilla 2007-09-11 04:05:23 UTC
User klee@redhat.com's account has been closed

Comment 3 Andrew Overholt 2007-09-11 14:26:21 UTC
We are now shipping Mylyn which obsoletes the old bugzilla plugin.  Please open
a request at bugs.eclipse.org against Mylyn if this issue persists.  Thank you.

Note You need to log in before you can comment on or make changes to this bug.