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.
[ BUILD # : 200808021401 ] [ JDK VERSION : 1.6.0_07 ] When I open my UML Project, the Navigator Panel is set as "<title of the first drawing> - Navigator" but doesn't contain any contents. When a diagram is opened, the Navigator panel title changes to "Navigator" and contains a "thumbnail" of the diagram. When the diagram is closed, the content is cleared out of the navigator window. (See Screencaptures)
Created attachment 66545 [details] Open UML Project without any open diagrams.
Created attachment 66546 [details] Image showing improperly labeled Navigator Panel
Created attachment 66547 [details] Image showing UML project with open diagram
Created attachment 66548 [details] Image showing Navigator with thumbnail sketch
After looking at the Java nodes the name of the open navigator should be "<Top Component Display Name> - Navigator." Is the incorrect behavior that you are talking about is the fact that we do not have a navigator for closed diagrams?
Not quite. The error is in the naming of the navigator panel and when the name should be set/changed. First is when the project is opened, but no diagram is opened, the Navigator should not be named for a specific diagram. Naming for a specific diagram, when the diagram has not been opened is incorrect. The other is, as you noted. The navigator name should be named appropriately for the current diagram.
This is strange because I am not seeing the navigator being named unless the diagram is open. Can you see if you can still replicate the problem?
with the latest UML daily build 20080902, here's what I see. - when project is opened without any diagram open, the Navigator title is "Navigator" with blank window as content : this is correct. - when a diagram is opened, the Navigator title is still "Navigator" without displaying the diagram name : this is INCORRECT. The content is displayed with an overview (or maybe called a thumbnail) of the diagram : this is correct. The Navigator title is "<whatever is selected> - Navigator" : this is INCORRECT. <whatever is selected> means whenever an object is selected. It should ALWAYS display the name of the diagram. * if a class is selected, the class name is displayed. * if the diagram is selected, the diagram name is displayed - when the diagram is closed, the Navigator title is "Navigator" with blank window as content : this is correct.
"if a class is selected, the class name is displayed." Are you talking about when the class is selected in the diagram? If that is what you are talking about I do not agree. The diagram navigator is about the diagram not the individual components in the diagram. "- when a diagram is opened, the Navigator title is still "Navigator" without displaying the diagram name : this is INCORRECT. The content is displayed with an overview (or maybe called a thumbnail) of the diagram : this is correct. The Navigator title is "<whatever is selected> - Navigator" : this is INCORRECT." I am not seeing this. When the diagram top component is selected, the navigator is show the name - <Diagram Name> - Navigator. You are correct. We are currently show the name of what ever is selected in the title.
Sorry, forgot to make the following clear. I meant the current situation is the following which is not correct. The diagram name should always be displayed instead of whatever is selected. * if a class is selected, the class name is displayed. * if the diagram is selected, the diagram name is displayed