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.
- turn off MenuBar>View>ShowEditorToolbar - double click persistence.xml to bring up in editor - click XML to switch to the xml view Observe that the Design/XML buttons are not present The GUI mutliview editor (matisse) used to have this problem. It was fixed in a recent release, so they probably have a ready solution.
I'm not sure it's an issue, as you hide toolbar with buttons yourself and so you have no toolbar, I also don't see fixed behavior for gui editor, just tried and see no way to switch to design mode from editor (for JFrame). all works the same way, web.xml editor, gui editor, persistence.xml editor. I'm not sure what will be a good solution in this case. Also after close-reopen all editors are in design mode again. May be should be considered as enhancment request to provide switching to design view somehow even if toolbar is hidden.
yes, I see something strange in 6.7, there are number of issues. if I deselect "show editor toolbar" in design mode, switch to code and back I see "show" isn't deselected but it's not a solution and may be it was fixed (or roll backed if it was attempt to fix switch issue) in 6.8 or I can't reproduce it
last comment was about gui editor.
I just tried the GUI. You are right. I was sure I remembered that was fixed in the past. Maybe 6.5. I almost never do GUI work. I'll file a bug against the editor. Something like "multiview editor should always display buttons for DESIGN/EDIT switching". If I have toolbar turned off, and I open persistence.xml (or JFrame), why does it show a toolbar? Anyway, I thought the JFrame was working.
Filed issue 173789
>If I have toolbar turned off, and I open persistence.xml (or JFrame), why does it show a toolbar? Do you mean toolbar for editor or design view? In my opinion ShowEditorToolbar may be just for editor just because of its name "editor toolbar" and do not work for design and others views.
> > If I have toolbar turned off, and I open persistence.xml (or JFrame), why does it show a toolbar? > Do you mean toolbar for editor or design view? I thought the design view was an editor (though not a text editor). Anyway, I was being picky (I made a silly comment). The issue I filed to editor pretty much outlines what I think about this minor problem.
ok, persistence.xml editor should follow more general resolution on issue 173789
I can't reproduce the issue in 6.8 and 6.9, may be fixed by general fix in issue 173789, close as duplicate as it have the same fix and is just a case. *** This bug has been marked as a duplicate of bug 173789 ***