Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Structure Pane    [ Add a report in this area ]  
Report #:  100603   Status: Reported
Structure autoexpands every time
Project:  Delphi Build #:  15.0.3953.35171
Version:    15.1 Submitted By:   Alexander Zemerov
Report Type:  Minor failure / Design problem Date Reported:  10/31/2011 5:52:52 AM
Severity:    Commonly encountered problem Last Updated: 10/31/2011 8:38:06 PM
Platform:    All versions Internal Tracking #:  
Resolution: None  Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Every time Structure window is shown the structure tree automatically autoexpands the "Classes" node including _all_ childs. What makes it even worse - when application focus is changed to another app and then back to Delphi IDE, the tree is re-initialized and re-expanded again, loosing it's previouse state.
It makes the Structure view very difficult to use, especially when unit contains many classes.
1) The behaiviour should be the same like in Delphi 7 - autoexpansion is limited to only one level (or provide an option to control it)
2) The tree view initialization should happen only once, when window is opened, not every time when it is activated.
Steps to Reproduce:
1) Open any unit.
2) Select "Main menu"-"View"-"Structure". Notice that "Classes" node is fully expanded.
3) Collapse several subnodes
4) Switch to any other application and then switch back to IDE
5) Notice, that the tree view is automatically re-loaded and all you changes made at step 3) are lost


Server Response from: ETNACODE01