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.
200906150201 Even with a simple project, try to Ctrl-C on a file in projects explorer and then move around via keyboard. It's unusably slow, the IDE totally choked up. I even got the slowness warning reporting AWT blocked for more than 1s. Attaching the snapshot. It seems like there is no single culprit - perhaps the explorer (or the treeview) should try to handle consecutive selection changes better. It's ok with empty clipboard, or if there's e.g. just a text.
Created attachment 83717 [details] profiling snapshot
The reason of slowness was paste action update (especially org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider.canCopy() is rather slow). I fixed it on explorer's side where paste action update was invoked when not necessary. core-main #428c7d138e45
Integrated into 'main-golden', will be available in build *200906200201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/428c7d138e45 User: Tomas Holy <t_h@netbeans.org> Log: #167256: Keyboard navigation in Projects unusably slow if something in clipboard
Created attachment 83980 [details] additional perf. improvements for projectui, milane please review
The patch looks OK. Do projectui tests are pass?
Please have a look at issue #168188 to see if it is caused by this bug. If yes, please include this fix in NB 6.7 patch 1.
*** Issue 168188 has been marked as a duplicate of this issue. ***
verified
v
The fix has been ported into the release67_fixes repository. http://hg.netbeans.org/release67_fixes/rev/d0850a22f23f
Integrated into 'main-golden', will be available in build *200907071400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/7a94213a56b4 User: Tomas Holy <t_h@netbeans.org> Log: #167256: additional perf. improvements.
*** Issue 159566 has been marked as a duplicate of this issue. ***
This bug seems to have been appeared again. When I have some larger image in my clipboard, the projects navigation via keyboard gets very sluggish.