Problem with restoring some layouts

Docking/MDI for WPF Forum

Posted 12 years ago by CA-AchatsInternet - Ubisoft Divertissements Inc
Version: 12.1.0560
Platform: .NET 4.0
Environment: Windows 7 (64-bit)
Avatar

Hello,

I have a problem when I try to restore certain kinds of layouts.

I have a floating window, which hosts 2 toolwindows.

When these windows are tabbed in the floating window (as in a tabcontrol..), everything works well.

When the floating window is split, with one of the tool window in the upper part, and the other tool window in the lower part, the floating window is never displayed...

Below is the part of the layout xalm fiel for both the working layout and the one which doesn't work. The rest of the xaml is strictly the same in both cases.

Any help will be greatly appreciated !!

Working layout:

<RaftingHosts>
<RaftingHost
IsMaximized="false"
Location="1967,87"
Size="200,863"
State="Floating">
<Content
xsi:type="ToolWindowContainer"
AutoHideSize="200,863"
DockedSize="200,863"
DocumentSize="200,863"
FloatingSize="200,863"
Size="200,863"
SelectedWindowUniqueId="4d631f46-b1d5-4c36-8ddd-9a9dde535f83">
<UIElement
xsi:type="ToolWindowRef"
UniqueId="6b645538-927c-4248-a81d-31b17727aa80" />
<UIElement
xsi:type="Track"
UniqueId="5c89d370-961d-4ad0-b4f3-24586e07cefd" />
<UIElement
xsi:type="Track"
UniqueId="63432e0f-5253-4745-a4b5-0d6d7c2cf930" />
<UIElement
xsi:type="Track"
UniqueId="f7caa55b-2e88-4f70-b6b1-84487ae7d523" />
<UIElement
xsi:type="Track"
UniqueId="059f6978-8659-40e5-8a5e-b330d1c9e749" />
<UIElement
xsi:type="ToolWindowRef"
UniqueId="4d631f46-b1d5-4c36-8ddd-9a9dde535f83" />
</Content>
</RaftingHost>
</RaftingHosts>

 

"Bugged" layout:

 

<RaftingHosts>
<RaftingHost
IsMaximized="false"
Location="2035,68"
Size="200,842"
State="Floating">
<Content
xsi:type="SplitContainer"
AutoHideSize="200,863"
DockedSize="200,863"
DocumentSize="200,863"
FloatingSize="200,842"
Size="200,842"
Orientation="Vertical">
<UIElement
xsi:type="ToolWindowContainer"
AutoHideSize="200,863"
DockedSize="200,863"
DocumentSize="200,863"
FloatingSize="200,418.5"
Size="200,418.5"
SelectedWindowUniqueId="6b645538-927c-4248-a81d-31b17727aa80">
<UIElement
xsi:type="ToolWindowRef"
UniqueId="6b645538-927c-4248-a81d-31b17727aa80" />
<UIElement
xsi:type="Track"
UniqueId="5c89d370-961d-4ad0-b4f3-24586e07cefd" />
<UIElement
xsi:type="Track"
UniqueId="63432e0f-5253-4745-a4b5-0d6d7c2cf930" />
<UIElement
xsi:type="Track"
UniqueId="f7caa55b-2e88-4f70-b6b1-84487ae7d523" />
<UIElement
xsi:type="Track"
UniqueId="059f6978-8659-40e5-8a5e-b330d1c9e749" />
</UIElement>
<UIElement
xsi:type="ToolWindowContainer"
AutoHideSize="200,863"
DockedSize="200,863"
DocumentSize="200,863"
FloatingSize="200,418.5"
Size="200,418.5"
SelectedWindowUniqueId="4d631f46-b1d5-4c36-8ddd-9a9dde535f83">
<UIElement
xsi:type="ToolWindowRef"
UniqueId="4d631f46-b1d5-4c36-8ddd-9a9dde535f83" />
</UIElement>
</Content>
</RaftingHost>
</RaftingHosts>

Comments (1)

Answer - Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Elodie,

This was a bug introduced in a recent build via another minor code change.  We were notified of it a week or two ago and fixed it for the upcoming maintenance release.


Actipro Software Support

The latest build of this product (v24.1.1) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.