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.
Summary: | org.netbeans.core.multiview.MultiViewPeer.peerComponentShowing: LowPerformance took 65156 ms. | ||
---|---|---|---|
Product: | platform | Reporter: | Exceptions Reporter <exceptions_reporter> |
Component: | Text | Assignee: | Miloslav Metelka <mmetelka> |
Status: | NEW --- | ||
Severity: | normal | CC: | ayermolayev, carduelis, ihsantobe17, ostermann_bernd, ridha, tpavek |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 7.3 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 199491 |
Attachments: |
nps snapshot
nps snapshot nps snapshot |
Description
Exceptions Reporter
2013-03-23 05:06:56 UTC
Created attachment 132970 [details]
nps snapshot
FormEditorSupport.JavaEditorTopComponent.getToolbarRepresentation() waits for editor pane to be initialized. Created attachment 133859 [details]
nps snapshot
Created attachment 134553 [details]
nps snapshot
startup of NB
As mentioned above, FormEditorSupport.JavaEditorTopComponent.getToolbarRepresentation() waits for editor pane to be initialized. But how else it should get the toolbar? The code is: JEditorPane pane = getEditorPane(); if (pane != null) { Document doc = pane.getDocument(); if (doc instanceof NbDocument.CustomToolbar) { toolbar = ((NbDocument.CustomToolbar)doc).createToolbar(pane); } } It's the CloneableEditor.getEditorPane() that is slow, yet requires to be called in EDT. I don't see what could be done with this on GUI builder side, if anybody knows please let me know. Is there a way to get to the document/toolbar out of EDT? |