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.modules.form.layoutdesign.LayoutPainter.paintGapsInContainer: LowPerformance took 43208 ms. | ||
---|---|---|---|
Product: | guibuilder | Reporter: | Exceptions Reporter <exceptions_reporter> |
Component: | Code | Assignee: | issues@guibuilder <issues> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | Keywords: | PERFORMANCE |
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 202086 |
Attachments: | nps snapshot |
Description
Exceptions Reporter
2013-07-25 05:19:01 UTC
Created attachment 137752 [details]
nps snapshot
The snapshots show long painting of the layout gaps, looks like painting some huge single gap (not many gaps). I was not able to reproduce that, even the biggest gap I was able to set was painted quite fast (area of about Short.MAX_VALUE x Integer.MAX_VALUE size). Added one more check for hypothetical case of int overflow, also added code that always sets the expected basic stroke (the slowness might also be caused by a complicated paint stroke that got into the layout painting somehow). All that is a guess - would need to have steps to reproduce to be sure. http://hg.netbeans.org/jet-main/rev/20b7dfb8c737 Integrated into 'main-silver', will be available in build *201308090746* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/20b7dfb8c737 User: Tomas Pavek <tpavek@netbeans.org> Log: #233363: making sure the right paint stroke used in layout painting is always set and unset; additional check for hypothetic paint overflow |