You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you for creating this library, it's very useful!
I'm experiencing an issue where I'm unable to see the tools I add programmatically after de-serialization. I can use the dock factory features just fine, I can save and load the layout and I can add tools with this method:
A user in #344 mentions having issues just creating the tools. It's working fine for me before serialization. However, using this method after de-serialization, the new tools are nowhere to be found. The _toolDock is re-created properly within the layout, I can clearly see that the new tools are added to its VisibleDockables along with the de-serialized tools, but these new tools don't show up. There's no tab created for them.
The layout is serialized using the DockSerializer, if that matters.
I was able to reproduce this in the DockMvvmSample project after adding layout serialization. Any idea what's going on? This feels like a bug in the library but I'm probably missing something.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
First of all, thank you for creating this library, it's very useful!
I'm experiencing an issue where I'm unable to see the tools I add programmatically after de-serialization. I can use the dock factory features just fine, I can save and load the layout and I can add tools with this method:
A user in #344 mentions having issues just creating the tools. It's working fine for me before serialization. However, using this method after de-serialization, the new tools are nowhere to be found. The _toolDock is re-created properly within the layout, I can clearly see that the new tools are added to its VisibleDockables along with the de-serialized tools, but these new tools don't show up. There's no tab created for them.
The layout is serialized using the DockSerializer, if that matters.
The CreateLayout method looks like this:
And the InitLayout looks like that:
I was able to reproduce this in the DockMvvmSample project after adding layout serialization. Any idea what's going on? This feels like a bug in the library but I'm probably missing something.
Beta Was this translation helpful? Give feedback.
All reactions