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.
Original submitter: krystyna Description: trunk kit 1105_1 Not sure if the fix is in outline or page navigation. Adding a page to a project via page navigation editor will affect the outline of the preceding page in that it's outline will be collapsed. Two page scenario: 1. fresh userdir, create a new project 2. drop a number of simple and composite components, e.g. button, dropdown, checkboxGroup or radiobuttongroup 3. add a new page2 via page navigation, double click on page2 icon in page nav and drop any components as above. 4. click on page1 tab and observe outline >outline collapses at page node and shows only child comps of page1 : dropDown1DefaultOptions and checkboxGruop1DefaultOptions 5. switch to page 2: outline is OK, fully expanded. 6. switch again to page1.. outline collapsed. If a page is added via project, "newPage"/"Page2" switching from to "page1" is ok as outline is expanded for page1. Testing, multiple projects of one page only, outline also is ok and expanded when switching. Three page scenario: 1. create a two page project, where the second page is added via the project navigator. drop components similary. outlines are expanded when switching. ok. 2. create the third page via page navigation editor. now switch from page3 to page2 >page2's outline is collapsed. page 1 and page 3 are expanded. In a four page scenario, where the fourth page is added via page navigation, page 1 and page 4 will be expanded, but page 2 and page 3 will be collapsed. Description (Entry 2): Unnoticed by me was that the "Page" component becomes selected when right clicking to enter page navigation, hence the collapse to the outline's page node as focus/handlebars have been removed from any component. But I think the outcome is unexpected to have lost the expanded outline of the page simply because a user clicked on background to enter navigation. They have not exited the project. Noted that I can enter page navigation via right click on a selected component, and that does not destroy the outline, so there is no bug. But the background pop-up is shorter and preferred. Evaluation: I thought I just commented the same issue. Anyway, currently it works as it suppose. When changed webform, then new webform is shown and expanded up to the selected component. Therefore you don't see the changes when you have only one page opened in the project, switching to non-designer windows, doesn't affect outline (it only shows/hides the stuff). Important is only switching between the designer windows. I am changing this to RFE, there is no facility for storing the expaneded paths per webform now. Workaround: Expand the outline manually
Summarizing: Outline needs to remember expanded paths per designer. (It resets the selection based on currently selected component, and expands it in that case, but that is all, it doesn't keep the expanded paths, which is observable especially when the selected component isn't leaf).