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.
My layout managers' support modules stop working in RC2. There are no exceptions in log, my module had been loaded and restored ok, but the form layout is set to default (BorderLayout) instead of custom layout manager. I can create and save new form - saved .form file looks ok. Layout customizers don't work ('Customize Layout...' menu item is disabled). Compiled modules are available from https://developer.berlios.de/projects/nblayoutpack/, source code is available too.
Customize Layout menu item is enabled by a selected layout. Now, the customizer is enabled for GridBaglayout in NetBeans. I tried to download your nblayoutpack-riverlayout-nb5.0beta-1.0.0.20060103.2302.nbm, create a new JFrame, Free design layout is default for new created forms, and switch to River layout (similar like Flow layout), no objection. Leave this report for a tracked purpose, but change priority to standard P3. One question yet, what was the last build you didn't encountered a problem?
I see the problem now, when the form file is closed and opened again, the border layout is used!
Fixed in dev trunk. /cvs/form/src/org/netbeans/modules/form/GandalfPersistenceManager.java new revision: 1.159; previous revision: 1.158
This correct the PercentLayout problems too. See https://l2fprod-common.dev.java.net/issues/show_bug.cgi?id=69 issue. Regards.
The issue appeared again, the behavior is even worse than before: the custom layout information had been lost after saving a form!
The issue reappeared in NetBeans 5.5 Beta.
The fix has not been integrated to 5.5 yet - thanks for reminder. Don't know about the saving problem - will check it later next week. Is the behavior really different from 5.0? And does it all work in trunk (6.0) builds?
I've tried the NB 5.5 Beta when it came out and the behavior was really different. I haven't tried NB 6.0 and will have no chance to try until, say, tuesday or wednesday next week - I have to return from JavaOne to my sources. :)
Seems that the different behavior in 5.5 is caused by issue 75225 - the form is reloaded immediately when saved - that's why the layout breaks at this moment. This should not be a problem if the loading works. So applying the fix from trunk to 5.5 branch should be enough. I may possibly create a workaround for 75225 if needed.
Ok, I've applied the fix to 5.5 branch. Tested on FormLayout, seems working now. Please verify in tomorrow or later daily build of 5.5. /cvs/form/src/org/netbeans/modules/form/GandalfPersistenceManager.java new revision: 1.134.2.2.2.1; previous revision: 1.134.2.2
Verified in NB 5.5 20060526 daily