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 206298 - AddModulePanel insertUpdate handler calls slow AddModuleFilter.getMatches synch
Summary: AddModulePanel insertUpdate handler calls slow AddModuleFilter.getMatches synch
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@apisupport
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2011-12-13 01:00 UTC by greggwon
Modified: 2012-11-21 13:45 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 181782


Attachments
nps snapshot (967.00 KB, application/nps)
2011-12-13 01:01 UTC, greggwon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description greggwon 2011-12-13 01:00:55 UTC
Build: NetBeans IDE 7.1 RC2 (Build 201111302200)
VM: Java HotSpot(TM) Client VM, 20.2-b06, Java(TM) SE Runtime Environment, 1.6.0_27-b07
OS: Windows Vista

User Comments:
greggwon: Suddenly I see "Saving snapshot".  The progress bar is moving very slowly, and there is no cancel button!  I didn't request anything be done, why is the IDE spinning away at this action when I have not requested it, and more than that, why isn't it cancellable if I didn't explicitly ask for it to happen.

limo42: Changed "Filter" text in "Add Module Dependency" dialog.



Maximum slowness yet reported was 297817 ms, average is 153934
Comment 1 greggwon 2011-12-13 01:01:27 UTC
Created attachment 114077 [details]
nps snapshot
Comment 2 Ondrej Vrabec 2012-11-15 18:07:59 UTC
Maybe the search could always run async and a javax.swing.Timer would be used to show Please Wait... label
Comment 3 Ondrej Vrabec 2012-11-20 15:54:28 UTC
fix: http://hg.netbeans.org/core-main/rev/4b883b81933e
Comment 4 Quality Engineering 2012-11-21 13:45:45 UTC
Integrated into 'main-golden', will be available in build *201211211016* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/4b883b81933e
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #206298 - AddModulePanel insertUpdate handler calls slow AddModuleFilter.getMatches synch
searching in background and displaying "Please wait..." after 1 second