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.
Build: NetBeans IDE Dev (Build 090803) VM: OpenJDK Client VM, 14.0-b08, OpenJDK Runtime Environment, 1.6.0_0-b14 OS: Linux, 2.6.28-14-generic, i386 User Comments: dynamite: I was trying to scroll up through a Groovy file in NetBeans running on Ubuntu 9.04. Maximum slowness yet reported was 21607 ms, average is 21607
Created attachment 85757 [details] nps snapshot
Parsing groovy file.
Real issue is with EDT waiting for parser. Groovy parser is slow, but that is not an excuse for wait in EDT.
Popup menu was invoked. Profiler does not show time spend in AWT by waiting on lock. I am afraid in such case only solution is to show wait cursor when someone wants synchronously some result from parser but parsing is not yet done.
I have fix when parser is blocked open action is not blocked and location is set to -1. If it happens that OpenAction is invoked on opened file cursor position does not change. If file is not yet opened file is opened at beginning. It is because element location is not available when parser is running. It is current design.
jet-main #7f6b67556470
Integrated into 'main-golden', will be available in build *200908242212* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/7f6b67556470 User: Marek Slama <mslama@netbeans.org> Log: #169806: Do not block AWT by OpenAction when parsing is in progress.