PR# 12132 Estudio doesn't restore normal/debug layouts within same session

Problem Report Summary
Submitter: prestoat2000
Category: EiffelStudio
Priority: Medium
Date: 2007/02/25
Class: Bug
Severity: Serious
Number: 12132
Release: 6.0.66833
Confidential: No
Status: Closed
Responsible:
Environment: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.8.1) Gecko/20061228 Firefox/2.0 Solaris 10 on x64
Synopsis: Estudio doesn't restore normal/debug layouts within same session

Description
Estudio does not restore the normal layout after exiting the debugger or
the debug layout when starting the debugger, even within the same estudio
session.
To Reproduce
Delete ~/.es directory and compile sample nongraphical application.
Note layout of tools (default layout - no need to change anything).
Click on Step into Routine.  The Objects window takes almost all the
space vertically and the Feature Relation window has hardly any space.
Adjust divider between these windows so that they have roughly equal
size vertically.
Click Continue.
Notice that the default layout is not restored.  
Note that the ROOT_CLASS Editor tab is maximized.  Clicking on the Restore
button for the ROOT_CLASS Editor tab appears to restore the layout to
what it should be.

It now looks to me like the root of the problem may be that the Editor tab
is maximized when I start the debugger for the first time (at least, after
creating a new sample project).
 


Problem Report Interactions
From:larryl    Date:2007/03/02    Status: Closed    Download   
I think the "maximized" in your bug report is mean "minimized".

At revision#67029:

We save/restore editor minimized state when only one editor zone (maybe a tabbed zone or a single content editor zone) existing, 
When more than one editor zone existing, we don't save them minimized states, because Smart Docking library don't know how to restore editors minimized state if end user add/close editor tabs in normal/debug layout.

For example:
1.End user have ROOT_CLASS editor tab and NEW_CLASS tab opened in the normal layout, the two editor tabs are separately contained in a horizontal split area, they are both minimized. Now there are two zones.
2.End user start debugging, switch to debug layout. In debug layout, end user closed ROOT_CLASS editor tab and NEW_CLASS editor tab. Then end user open a NEW_CLASS_1 editor tab. Now there is one zone.
3.End user stop debugging, switch to normal layout. At this time, Smart Docking library only know minimized data of ROOT_CLASS editor tab and NEW_CLASS editor t
....
Output truncated, Click download to get the full message