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 39035 - Entire form designer window repaints twice each time the selection is changed
Summary: Entire form designer window repaints twice each time the selection is changed
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2004-01-21 06:51 UTC by _ tboudreau
Modified: 2005-07-11 13:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2004-01-21 06:51:20 UTC
(Easiest to see with a graphics debugging tool
like QuartzDebug for the mac - each area that's
repainted flashes yellow).

Open a form with a few components on it.
Click any component
The *entire* form designer repaints itself
(including whitespace), not just the selection
Then the entire form designer window repaints
itself again, and the property sheet repaints
(maybe it is receiving a selection changed event
from itself and repainting?  This second paint
looks like it is triggered by the selected node
changing).
Comment 1 Tomas Pavek 2004-02-12 10:31:35 UTC
Fixed.

The designer <-> inspector synchronization and selection changes has
been tuned up. Also the designer repaints only the form area.

/cvs/form/src/org/netbeans/modules/form/ComponentInspector.java
new revision: 1.42; previous revision: 1.41
/cvs/form/src/org/netbeans/modules/form/ComponentLayer.java
new revision: 1.6; previous revision: 1.5
/cvs/form/src/org/netbeans/modules/form/FormDesigner.java
new revision: 1.87; previous revision: 1.86
/cvs/form/src/org/netbeans/modules/form/HandleLayer.java
new revision: 1.55; previous revision: 1.54
Comment 2 Marek Grummich 2005-07-11 13:17:45 UTC
Verified