UseHostedAutoHidePopups breaks under .NET 4.0

Docking/MDI for WPF Forum

Posted 16 years ago by Cameron MacFarland - Senior Software Engineer, Orelogy Geotechnical
Version: 9.1.0506
Platform: .NET 4.0
Environment: Windows 7 (64-bit)
Avatar
Using "UseHostedAutoHidePopups=false" on a docksite crashes on .NET 4.0 beta 2.

To reproduce, I've created a simple window to show the behaviour.
<Window x:Class="DotNet4DockingTest.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:shared="http://schemas.actiprosoftware.com/winfx/xaml/shared" 
    xmlns:docking="http://schemas.actiprosoftware.com/winfx/xaml/docking" 
    xmlns:themes="http://schemas.actiprosoftware.com/winfx/xaml/themes" 
        Title="MainWindow" Height="350" Width="525"
        themes:ThemeManager.Theme="AeroNormalColor"
        >
    <!-- DockSite -->
    <docking:DockSite 
        x:Name="dockSite"
        UseHostedAutoHidePopups="False"
        >
        <docking:DockSite.AutoHideLeftContainers>
            <docking:ToolWindowContainer>
                <docking:ToolWindow Title="Tool Window 3" />
                <docking:ToolWindow Title="Tool Window 4" />
            </docking:ToolWindowContainer>
        </docking:DockSite.AutoHideLeftContainers>

        <docking:SplitContainer>

            <!-- Workspace -->
            <docking:Workspace>
                <docking:TabbedMdiHost>
                    <docking:TabbedMdiContainer>
                        <docking:DocumentWindow Title="Document1.txt">
                            <TextBox Text="Moving a toolwindow will crash in .NET 4.0 Beta 2. So will opening an autohide toolwindow." />
                        </docking:DocumentWindow>
                    </docking:TabbedMdiContainer>
                </docking:TabbedMdiHost>
            </docking:Workspace>

            <docking:ToolWindowContainer>
                <docking:ToolWindow Title="Tool Window 1" />
                <docking:ToolWindow Title="Tool Window 2" />
            </docking:ToolWindowContainer>

        </docking:SplitContainer>
    </docking:DockSite>
</Window>

Comments (1)

Posted 16 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Cameron,

Thanks for the note, we've fixed this for the next build. We'll probably push a build out Monday or Tuesday so if you see anything else, let us know ASAP.


Actipro Software Support

The latest build of this product (v25.1.0) was released 27 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.