anchordocking: Tab docking: layout will be saved incomplete
Original Reporter info from Mantis: 7bit
-
Reporter name: Bernd Kreuss
Original Reporter info from Mantis: 7bit
- Reporter name: Bernd Kreuss
Description:
Open the following 4 windows: Object inspector, Code explorer, Source
editor and messages.
Dock them in the following way on the left side put Object inspector
and Code explorer into a "tabbed area" (don't know the exact term for
this) and on the right side put source editor and messages into
another "tabbed area". So the end result is on the left you can tab
between two docked forms and on the right you can tab between two
docked forms.
Now save it and also make it the default.
The layout works perfectly well until you close the IDE and restart
it. As can be seen from the attached file it did not save the
complete layout, it only contains source editor and obect inspector,
the other two are missing.
If I now restart the IDE then it will show me in the window menu that
"messages" is open but I cannot find it anywhere. Its hidden and
completely unaccessible (and also unclosable).
If I load the same layout file again from the tools menu then message
is gone from the windows menu and I can open it again.
It seems as soon as I try to dock something into a tab it will not
save it and the next loading of the IDE with this as the default
layout will lead to some strange behavior.
I could only test on Linux/GTK2 but to me this does not look like an OS- or widgetset specific thing.
Additional information:
This is an example of the saved layout that is missing the items "messages" and "code explorer" which were docked inside tabs (as described above). First restart with this as the new default will lead to "messages" window unaccessible, after second load IDE will be usable again.
<?xml version="1.0"?>
<CONFIG>
<MainConfig>
<Nodes ChildCount="1">
<Item1 Name="MainIDE" Type="CustomSite" ChildCount="1" WindowState="Maximized">
<Bounds Width="1024" Height="710">
<WorkArea>
<Rect Right="1024" Bottom="729"/>
</WorkArea>
</Bounds>
<Item1 Name="AnchorDockSite3" Type="Layout" ChildCount="3">
<Bounds Top="68" Width="1024" Height="619" SplitterPos="64"/>
<Anchors Align="Bottom"/>
<Item1 Name="AnchorDockSplitter2" Type="SplitterVertical">
<Bounds Left="310" Width="4" Height="619"/>
</Item1>
<Item2 Name="SourceNotebook" Type="Control">
<Bounds Left="314" Width="706" Height="592"/>
<Anchors Left="AnchorDockSplitter2" Align="Client"/>
</Item2>
<Item3 Name="ObjectInspectorDlg" Type="Control">
<Bounds Width="306" Height="592"/>
<Anchors Align="Client" Right="AnchorDockSplitter2"/>
</Item3>
</Item1>
</Item1>
</Nodes>
</MainConfig>
</CONFIG>
Mantis conversion info:
- Mantis ID: 19714
- Version: 0.9.31 (SVN)
- Monitored by: » dirks (Dirk Schiphorst), » @PascalDragon (Sven Barth)