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 197744

Summary: Grid Bag Layout Customizer in 7.0 rc2 Slow animations after drag & drop
Product: guibuilder Reporter: honza.hubeny
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: requested java heap dump

Description honza.hubeny 2011-04-14 12:42:43 UTC
The animations used when you drag the compoment from one cell to the another are
quite slow. In my opinion there should be an option to turn them off or they should not be used at all.
Comment 1 Jan Stola 2011-04-19 09:12:21 UTC
I don't agree that the animations should be removed. They were introduced because they help users to maintain the mental map of their layout. Not all users are power users. Many users don't understand fully what all grid-bag constraints mean. Sometimes, such users are confused when they change some constraint and their layout gets modified in a way that they didn't expect. The animations help them to see what has happened.

The length of the animations is a matter of preference obviously. While I don't believe that it is a noticeable time waster for power users. I don't have a problem to speed the animation up a bit. FYI the current length is 500ms.
Comment 2 Jan Stola 2011-04-19 10:03:42 UTC
Fixed - the default animation length has been decreased to 300ms and it can be further modified via system property "netbeans.modules.form.grid.animationlength"

Modified file: http://hg.netbeans.org/jet-main/rev/26e7ff6f7bc9
Comment 3 honza.hubeny 2011-08-04 06:12:12 UTC
Created attachment 109783 [details]
requested java heap dump

requested java heap dump
Comment 4 honza.hubeny 2011-08-04 06:14:08 UTC
I am soory for sending the heap dump. The heap dump should be sent to another bug. Please ignore it.

Jan Hubeny