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 207207 - [72cat] Slowness in Enclose In menu
Summary: [72cat] Slowness in Enclose In menu
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.1
Hardware: All All
: P2 normal with 7 votes (vote)
Assignee: issues@guibuilder
URL:
Keywords: PERFORMANCE, REGRESSION
Depends on:
Blocks:
 
Reported: 2012-01-12 11:59 UTC by Michel Graciano
Modified: 2012-04-06 15:47 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 183263


Attachments
nps snapshot (121.45 KB, application/nps)
2012-01-12 11:59 UTC, Michel Graciano
Details
nps snapshot (97.04 KB, application/nps)
2012-01-23 15:19 UTC, AlisonTI
Details
nps snapshot (280.67 KB, application/nps)
2012-03-13 15:02 UTC, Michel Graciano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Graciano 2012-01-12 11:59:14 UTC
Build: NetBeans IDE 7.1 (Build 201112030901)
VM: Java HotSpot(TM) 64-Bit Server VM, 21.1-b02, Java(TM) SE Runtime Environment, 1.7.0_01-b08
OS: Linux

User Comments:
Andreas-Prantl: Changing Properties of Menu-Items in Design Mode

hmichel: Every time I pass the cursor over Enclose In context menu option, the IDE takes long to compute it.

rdion: Building Swing Dialog



Maximum slowness yet reported was 22924 ms, average is 8148
Comment 1 Michel Graciano 2012-01-12 11:59:20 UTC
Created attachment 114823 [details]
nps snapshot
Comment 2 AlisonTI 2012-01-23 15:19:01 UTC
Created attachment 115161 [details]
nps snapshot

navegando pela menu que abre ao clicar com o bot?o direito sobre o componente
Comment 3 Michel Graciano 2012-03-13 14:42:48 UTC
Any chance to someone take a look at this?
Comment 4 Michel Graciano 2012-03-13 15:02:21 UTC
Created attachment 116674 [details]
nps snapshot

Everytime I pass the mouse over Enclose In option of the component context menu, it hangs for long seconds, sometines until a minute.
Comment 5 Michel Graciano 2012-03-14 19:48:11 UTC
It is a regression from 7.0, that time a submenu for Enclose In is created with the label 'Please wait...' and the UI wasn't blocked. Each time I try to edit a form and I move the mouse over the Enclose In menu I lose more than 30 seconds, it is unacceptable.
Comment 6 Jan Stola 2012-03-15 10:52:19 UTC
This seems to be caused by fix of issue 204458. getAllContainers() was called outside event-dispatch thread before that fix and it is called in event-dispatch thread now.

I am lowering the priority to P2 because it happens to users with large content of Palette only.
Comment 7 Michel Graciano 2012-03-15 11:55:15 UTC
P2 and TM as 7.2 is ok to me. Thanks for the evaluation.
Comment 8 Michel Graciano 2012-03-29 20:49:56 UTC
It is making impossible to use Matisse for serious projects. We have a lot of custom components and each time we hit the context menu, we lose between 30 to 60 seconds, it is really non productive and irritating. I hope you can take a look at this soon. Thanks guys. I think anyone who take Swing seriously will have this issue.
Comment 9 MackSix 2012-03-30 07:04:05 UTC
I am getting 3 - 4 second delays on forms with 3 or 4 components on them in:

Product Version: NetBeans IDE Dev (Build 201203280401)
Java: 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)

Sometimes there is no delay, sometimes there is. It is inconsistent.
Comment 10 Jan Stola 2012-04-03 12:41:57 UTC
I have modified the fix of issue 204458 such that getAllContainers() is called outside event-dispatch thread again.

Modified file: http://hg.netbeans.org/jet-main/rev/51061e912e79
Comment 11 Michel Graciano 2012-04-03 12:46:15 UTC
Thanks Jan, I am eager to test it.
Comment 12 Michel Graciano 2012-04-06 15:47:21 UTC
Sorry for the delay to verify it, but the Libraries support was damaged and I just can't test it before without all my palettes installed.

v. Build 20120406-007e0159393b