-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Docking Persistence broken since build ##.23.10.303
#1381
Comments
Duplicate of #1310 - but this has a demo item ;-) - so keeping this one ! |
@Wagnerp Is this a candidate for 8.5 ? |
Using the
Broken in :
|
Works in :
Broken in:
|
@Wagnerp There seems to be a lot of Commits missing in the alpha branch for the indicated times: |
##.23.10.303
For me the docking persistence is still broken with the latest canary on commit a6788ea Standard-Toolkit/Source/Krypton Components/Krypton.Docking/Elements Base/DockingElement.cs Line 545 in a6788ea
This null check was introduced in commit 56c44e8 and as far as I can see, is not necessary because LoadChildDockingElement already properly deals with nulls Standard-Toolkit/Source/Krypton Components/Krypton.Docking/Elements Base/DockingElement.cs Lines 706 to 733 in a6788ea
If I remove the null check my configuration is correctly loaded |
@Smurf-IV Is it possible to set |
I also just noticed, that the fix 593a5f5 referenced above in this issue introduced a new bug. Several call-sites call PropogateAction with null for the uniqueNames parameter. This results in countToUse evaluate to 0 and the for loop is never executed effectively ignoring the action. Standard-Toolkit/Source/Krypton Components/Krypton.Docking/Elements Base/DockingElement.cs Line 574 in a6788ea
If I had to guess its the DockingMultiUpdate in KryptonDockingManager.DoDragDrop that is being ignored. |
@lukas2-werner Thanks for testing all this docking stuff.. |
Both can be reproduced with the Docking Persistence example. This crash happens as soon as I drag one of the docked pages in the example. The docking persistence bug I can reproduce with the following steps:
If I remove the null check Standard-Toolkit/Source/Krypton Components/Krypton.Docking/Elements Base/DockingElement.cs Line 545 in a6788ea
the docked pages are loaded correctly |
@lukas2-werner Thanks for the Steps.. |
When I comment
|
Just to say thanks for all your work on this - it's looking like a pest! Let me know anything I can do |
Fix is in for alpha (Please wait for the merge) |
Describe the bug
This was working fine in a 7.xx library. However, since updating, persistence now broken.
If one saves the docking states via:
and then tries to reload it via:
then lots of windows are missing/hidden.
Example of full method used to save/retrieve window states:
To Reproduce
I have made a simple Solution demonstrating the problem. Find it here:
Demo Git Page
Expected behaviour
The windows re-arrange themselves to the saved state.
Actual behaviour
Windows missing and in wrong locations.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: