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 51307 - Fix Imports action is slow and does not follow UI responsiveness rules
Summary: Fix Imports action is slow and does not follow UI responsiveness rules
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2004-11-09 13:09 UTC by Antonin Nebuzelsky
Modified: 2007-09-26 09:14 UTC (History)
2 users (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-11-09 13:09:35 UTC
There is no progress indication of Fix Imports
action, only a tiny text on status bar which can
be easily unnoticed. The action can take quite a
long time. Some users reported even times up to 10
seconds.

There has to be a real progress indication.
Ideally a progress bar. An hour-glass cursor shape
over editor window as a minimum.
Comment 1 Jesse Glick 2004-11-09 19:31:48 UTC
I have a pretty fast machine but I have also often observed delays of
several seconds using Fix Imports. A progress dialog would be much
appreciated.

Unless of course the action can simply be made much faster - since I
find this to be the most frequently used refactoring-type operation in
the IDE, optimizations here would be quite valuable.
Comment 2 Antonin Nebuzelsky 2005-02-21 15:10:15 UTC
Dane, a few users complained in the performance survey that Fix
Imports action is too slow. Will you do something about this in 4.1?
Thanks.
Comment 3 Daniel Prusa 2005-02-21 15:57:17 UTC
We are tuning the underlying infrastructure with intensions to improve
performance of Fix Imports action. Tomas H. has already achieved some
improvements.
Comment 4 Daniel Prusa 2005-02-24 16:46:36 UTC
Checking in JavaFixAllImports.java;
/cvs/java/editor/src/org/netbeans/modules/editor/java/JavaFixAllImports.java,v
 <--  JavaFixAllImports.java
new revision: 1.6; previous revision: 1.5