This project is read-only.

My bug fix log

Sep 25, 2009 at 9:03 AM

Hi all, AvalonDock is absolutely a fancy and useful UI library. I used it in my recent project and it accelerated our progress so much. Thank all of the contributors!

But I still found some bugs. To ensure my project's release in time, I've fix them without asking for help on CodePlex.

 

Here is my bug fix log:

2009-09-25: fix one bug of DockingManager.SaveLayout(), may cause crash or incorrect layout
            Add the following code snippet before "xmlWriter.WriteStartElement("FloatingWinfow");"
                bool hasNamedContent = false;
                foreach (DockableContent content in flWindow.HostedPane.Items)
                {
                    hasNamedContent |= !string.IsNullOrEmpty(content.Name);
                }
                if (!hasNamedContent)
                {
                    return;
                }

2009-09-23: fix one bug of DockingManager.Show(), may cause crash or incorrect layout
            If (!content.SavedStateAndPosition.ContainerPane.IsDocked) then dock into a new pane

2009-09-23: fix one crash bug in DockableFloatingWindow.Redock()
            If _previousPane is not DockablePane, do nothing

2009-09-04: fix one bug of Auto-Hidden behavior, may cause crash or incorrect layout
            Remove "ShowAllHiddenContents();" in DockingManager.RestoreLayout()

2009-09-02: fix one bug of Auto-Hidden behavior, may cause crash or incorrect layout
            Add "HideAutoHideWindow();" in DockingManager.SaveLayout() and DockingManager.RestoreLayout()

2009-08-26: fix one crash bug in DockingManager.Anchor()
            Add "if (toplevelPanel.Children.Count > 0)" before "//add new child after last one (append)"

2009-08-20: fix one crash bug in ResizingPanel.InsertChildRelativeTo()
            Add "if (childToInsert == null) return;" at the beginning of the function