PR# 14697 Docking incompatibility
Problem Report Summary
Submitter: manus_eiffel
Category: EiffelStudio
Priority: Medium
Date: 2008/08/04
Class: Bug
Severity: Serious
Number: 14697
Release: 6.3.7.4335
Confidential: No
Status: Analyzed
Responsible:
Environment: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; WOW64; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)
Synopsis: Docking incompatibility
Description
When I upgraded from 6.3.7.4123 to 6.3.7.4335, EiffelStudio layout was messed up. Only remained the editor which was taking the whole EiffelStudio content. My previously stored layout was not listed in the list of possible layout. What did change?
To Reproduce
Problem Report Interactions
Hi, Manu, In revision#74355, EB_RESET_LAYOUT_COMMAND is improved. Now it always reset docking layout by codes (previously it reset docking layout from docking data file which can be corrupted) I think we don’t need to delete the docking data files anymore. Using Eiffel Studio View menu-> `Reset tools layout’ is enough. For docking data invalid issue… docking library always tries to restore widget docking layouts from docking data, it ignore errors in the docking data (the errors are: some tool bars can’t be found, or tool contents can’t be found). After ignored the errors, maybe you will saw a `completely messed up’ docking layout sometimes… other times, after ignore the errors, the docking layout is still acceptable… So I’m not sure if errors happens, we recreate a new docking layout directly is good idea…
It is fine that it is not useable, what was not fine was that the layout was completely messed up. So if now it recreate the default layout when the content is not valid, then I'm fine.
Because docking library using STRING_32 instead of all STRING_GENERAL in recent revisions... So docking data saved by previous Eiffel Studio is not useable anymore...
The most terrible thing about it, is that the only solution you have is to actually go to where the file are stored to remove the bad one in order to get a descent layout.