This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 167971 - Painting of explorer view takes > 1s
Summary: Painting of explorer view takes > 1s
Status: RESOLVED DUPLICATE of bug 166409
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-01 15:23 UTC by Jaroslav Tulach
Modified: 2009-07-16 08:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Profiler snapshot (18.09 KB, application/octet-stream)
2009-07-01 15:23 UTC, Jaroslav Tulach
Details
The critical call from explorer to versioning system in a screenshot (48.13 KB, image/png)
2009-07-01 15:26 UTC, Jaroslav Tulach
Details
Another snapshot, this time the AWT was blocked for 9s (39.36 KB, application/octet-stream)
2009-07-02 08:18 UTC, Jaroslav Tulach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2009-07-01 15:23:23 UTC
Painting falls into actions that shall happen immediately, e.g. sooner than 100ms. Anything longer makes the user stop 
and think and wonder what is wrong. See http://performance.netbeans.org/responsiveness/whatisresponsiveness.html

I've just faced a situation where opening of project view took more than 1s. I just pressed Ctrl-1 and then waited 
more than felt comfortable. I am attaching profiling snapshot.

Imho there are two possible fixes. Either the treeview will not need real node (with HTML display name and properly 
badged icon) to compute its layout. Or the versioning system will return some value immediately and later fire change 
to badge the icon and annotate the html display name. Probably the first solution would be better - as such I am 
assigning to Tomáš H. and only CCing Tomáš S.
Comment 1 Jaroslav Tulach 2009-07-01 15:23:58 UTC
Created attachment 84258 [details]
Profiler snapshot
Comment 2 Jaroslav Tulach 2009-07-01 15:26:45 UTC
Created attachment 84260 [details]
The critical call from explorer to versioning system in a screenshot
Comment 3 Jaroslav Tulach 2009-07-02 08:18:14 UTC
Created attachment 84281 [details]
Another snapshot, this time the AWT was blocked for 9s
Comment 4 t_h 2009-07-14 15:10:52 UTC
Unfortunately it turned out it cannot be fixed in explorer. Some dummy node can be used in NodeRenderer for vertical
alignment, but for horizontal it is necessary to know real nodes names anyway.
Comment 5 Ondrej Vrabec 2009-07-16 08:52:37 UTC
blocking parts of code have been removed and corrected in issue 166409

*** This issue has been marked as a duplicate of 166409 ***