[Bug] Unhandled Exception with SukiUI Dock Control: "AttachedToLogicalTreeCore called for 'Document' but control has no logical parent" #368
Labels
Area:Theming
Issues related to theme
bug
Something isn't working
question
Further information is requested
Check the following items
Description of the issue
Dear SUKIUI Team,
I am writing to report an issue encountered while using the SukiUI Dock control in my project. The problem I faced is an unhandled exception which causes the application to crash. The error message reads:
"AttachedToLogicalTreeCore called for 'Document' but control has no logical parent"
Initially, I suspected that the issue might be due to a mistake in my implementation, so I carefully compared my usage with the official DEMO provided by SukiUI. However, during this verification process, I managed to reproduce the same issue within the official DEMO itself.
Steps to Reproduce:
Drag the Program.cs form to float it outside of its original docked position.
Drop the form back into the Document area.
Switch the side menu to any other menu item.
Switch back to the dock menu containing the previously floated and re-docked document.
Upon performing these steps, the application crashes at SukiTransitioningContentControl.SecondBuffer.SetValue.
Package Version
6.0.0-beta8
Environment
win10
Expected Behavior
fixed bug
Reproduction
Steps to Reproduce:
Drag the Program.cs form to float it outside of its original docked position.
Drop the form back into the Document area.
Switch the side menu to any other menu item.
Switch back to the dock menu containing the previously floated and re-docked document.
Upon performing these steps, the application crashes at SukiTransitioningContentControl.SecondBuffer.SetValue.
Additional Information
No response
The text was updated successfully, but these errors were encountered: