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 47010 - First invocation of Ctrl+Shift+8 is slow
Summary: First invocation of Ctrl+Shift+8 is slow
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 4.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Richard Gregor
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2004-08-09 11:03 UTC by Antonin Nebuzelsky
Modified: 2004-08-18 17:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonin Nebuzelsky 2004-08-09 11:03:56 UTC
First invocation of Ctrl+Shift+8 (show opened file
in Versioning tab) can take many seconds. The IDE
is frozen in the meantime and no indication of
action in progress is given.

First of all I suggest that
VersioningExplorerAction.performAction() is
changed to set a global hour-glass cursor (if the
set of nodes is not empty) for the time of calling
selectVersioningFiles().
Comment 1 Richard Gregor 2004-08-09 14:29:52 UTC
Tonda,
could you check whether this helps, please?

Checking in VersioningExplorerAction.java;
/cvs/vcscore/src/org/netbeans/modules/vcscore/actions/VersioningExplorerAction.java,v
 <--  VersioningExplorerAction.java
new revision: 1.17; previous revision: 1.16
done
Comment 2 Antonin Nebuzelsky 2004-08-10 10:41:25 UTC
Responsiveness looks much better now.
Comment 3 Richard Gregor 2004-08-10 10:52:15 UTC
Thanks for checking. There is a part of code looking for node to be
selected running in a separate thread now plus cursor type change. Do
you see any reason why not to sign this as fixed? I can't see other
thinks which could be improved.
Comment 4 Martin Entlicher 2004-08-18 17:49:35 UTC
Resolving as fixed. If it would still not be of acceptable
performance, please reopen with some rough estimate how long does it
take and how much it should be improved.