Posted 16 years ago
by Tim Solovyov
Version: 4.5.0487
Platform: .NET 3.5
Environment: Windows XP (32-bit)

Using NestedDockSites sample case I can observe that Outer DockSite is tracking DockingWindows which belongs to Inner DockSites (e.g. ActiveWindow and LastActiveToolWindow properties).
There are two problems I can see with that:
1. When I clicked (selected) "Inner DockSite 1-1" tab, I'd expect to have outerDockSite.ActiveWindow == "Document1" and innerDockSite1.ActiveWindow == "Inner DockSite 1-1", but I have outerDockSite.ActiveWindow == "Inner DockSite 1-1" as well as innerDockSite1.ActiveWindow. It seems at least confused.
2. After all documents are closed the inner document window cannot be garbage collected since Outer DockSite has a reference to one of the tool window of Inner DockSite.
There are two problems I can see with that:
1. When I clicked (selected) "Inner DockSite 1-1" tab, I'd expect to have outerDockSite.ActiveWindow == "Document1" and innerDockSite1.ActiveWindow == "Inner DockSite 1-1", but I have outerDockSite.ActiveWindow == "Inner DockSite 1-1" as well as innerDockSite1.ActiveWindow. It seems at least confused.
2. After all documents are closed the inner document window cannot be garbage collected since Outer DockSite has a reference to one of the tool window of Inner DockSite.