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.
See the screenshot Steps to reproduce : Create jframe Add menu bar Doubleclick on menu node in Inspector Doubleclick inside menu designer It works on Linux and Mac, not on Windows NetBeans IDE Dev (Build 20070417-0448) 1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02 Linux version 2.6.17-10-386 running on i386 en_US (nb); UTF-8
Created attachment 41075 [details] menu-designer-01.png
Created attachment 41076 [details] menu-designer-02.png
Created attachment 41077 [details] menu-designer-02.png
I cannot reproduce this. I have created a new frame with a menubar with two menus, and the first menu has three menu items in it. When I double click on the menu in the inspector the frame being designed appears to collapse to the size of the first menu. However, this does not affect any of NetBeans own menus. They are all fine. Closing the form and reopening fixes the problem.
Created attachment 41234 [details] Video from Ubuntu Linux
Created attachment 41235 [details] MacOS video
I still cannot reproduce this on Mac. I will install linux tomorrow to try it there. Can you tell me which JVM you are using on the Mac? This may be related to a 1.6 bug. Also, I have removed a customization I did to the inline edit layer when editing menus. This caused the edited menus to shift to the right over time. This shifting doesn't occur with my changes.
MacOS Java version : Java 2 Runtime Environment, Standard Edition (build 1.5.0_06-112) Java HotSpot Client VM (1.5.0_06-64, mixed mode, sharing)
This issue appears to be fixed by reverting the change of insets in the InPlaceEditLayer. This bug should be revisited after M9, however, to ensure it doesn't come back.
Verified on Ubuntu and MacOS