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.
Created attachment 162196 [details] Shows layer.xml This registration @EditorActionRegistration( name = "bookmark-toggle", noIconInMenu = true, noKeyBinding = false, iconResource = "org/netbeans/modules/editor/bookmarks/resources/toggle_bookmark.png", menuPath = "GoTo", menuPosition = 1900, menuText = "#CTL_ToggleBookmarkAction" ,toolBarPosition = 13000) generates a layer.xml-entry to Editors|Toolbar, but it has to be Editors|Toolbars|Default ACTUAL <folder name="Editors"> <folder name="Toolbar"> <file name="bookmark-toggle.shadow"> <!--org.netbeans.lib.editor.bookmarks.actions.ToggleBookmarkAction--> <attr name="originalFile" stringvalue="Editors/Actions/bookmark-toggle.instance"/> <attr intvalue="13000" name="position"/> </file> </folder> EXPECTED <folder name="Editors"> <folder name="Toolbars"> <folder name="Default"> <file name="bookmark-toggle.shadow"> <!--org.netbeans.lib.editor.bookmarks.actions.ToggleBookmarkAction--> <attr name="originalFile" stringvalue="Editors/Actions/bookmark-toggle.instance"/> <attr intvalue="13000" name="position"/> </file> </folder>