This project has moved. For the latest updates, please go here.

Strange autohide un-hiding behavior on document close

Jul 15, 2015 at 8:24 PM
I've been seeing this behavior for a long time now. When using a LayoutRoot.LeftSide with auto-hide children (has AutoHideWidth set) , LayoutDocument close operations act as if the auto-hide child had a mouse hover over it. Child auto-unhides as if it had mouse focus.

Happens specifically when either last LayoutDocument is closed, or when any floating LayoutDocument is closed.

On a side note, I'm a little confused by the NuGet options. If we're using toolkit and Avalon dock, do we use the NuGet Avalon 2.7 + Toolkit 2.5? Or do we use just Toolkit 2.5 and manually find the Avalon DLLs in the Toolkit 2.5 nuget lib folder?

Thanks in advance!
Developer
Sep 2, 2015 at 6:06 PM
Hi,

I'm not sure how to reproduce the issue. Can you reproduce it in the LiveExplorer App, available here : https://wpftoolkit.codeplex.com/, under sample "Others/AvalonDock" ?

Yes, If you're using toolkit and Avalon dock, use the NuGet Avalon 2.7 + Toolkit 2.5.
In the package "Xceed AvalonDock for WPF", you get the latest version of AvalonDock (2.7) and the Community edition of the Toolkit (v2.5).
If you find any problem with this, please advise us.
Thanks.
Sep 5, 2015 at 12:01 AM
If it's better, I definitely can try to reproduce it in the LiveExplorer; however, I already have a purpose-built test app which reproduces it, located here:

https://bitbucket.org/malachib/playground.c/src/39de2ac12df520ef7cf51bf83f70cc03be59cea1/src/PGC-7/?at=master

Thank you for the 411 on Avalon + Toolkit, I will bear this in mind from now on.
Developer
Sep 8, 2015 at 4:29 PM
Hi, Thanks for your sample.

Currently, when the active item is removed, we try to find another item to become the "active" one. If there are no more items, the first one found (from layout sides) will be set as active, thus showing the AutoHide panel.

Issue https://wpftoolkit.codeplex.com/workitem/21997 has been created.
Sep 8, 2015 at 11:52 PM
Thank you for this followup; keep up the great work!