
Hello,
My problem is that I cannot close the ToolWindows in a nested dock site after they have been de-serialized. The ToolWindows in the outer DockSite work fine after they have been de-serialized. This is strange because the deserialization and create tool window routines are all common code that is shared between DockSites.
If I activate the 'broken' inner ToolWindows in the loaded event after de-serialization, it fixes them but they re-arrange. Also, if I drag a new ToolWindow onto an existing on that is ‘broken’ it will ‘fix’ it. Please note, when the ToolWindows do not close, all of the functionality in their TitleBar is broken (i.e. they cannot be dragged, pinned, etc…).
I have been investigating at this for almost 2 days now and have no answers yet. I made a sample project, but I cannot re-create the problem there. Any ideas about what could be going on here with the information I have provided? Like what would the cause of the Close not to work until it has been Activated after de-serialization?
Thank you,
Mark
My problem is that I cannot close the ToolWindows in a nested dock site after they have been de-serialized. The ToolWindows in the outer DockSite work fine after they have been de-serialized. This is strange because the deserialization and create tool window routines are all common code that is shared between DockSites.
If I activate the 'broken' inner ToolWindows in the loaded event after de-serialization, it fixes them but they re-arrange. Also, if I drag a new ToolWindow onto an existing on that is ‘broken’ it will ‘fix’ it. Please note, when the ToolWindows do not close, all of the functionality in their TitleBar is broken (i.e. they cannot be dragged, pinned, etc…).
I have been investigating at this for almost 2 days now and have no answers yet. I made a sample project, but I cannot re-create the problem there. Any ideas about what could be going on here with the information I have provided? Like what would the cause of the Close not to work until it has been Activated after de-serialization?
Thank you,
Mark