Krypton-Suite / Standard-Toolkit-Demos

BSD 3-Clause "New" or "Revised" License
55 stars 20 forks source link

[Bug]: KryptonDockingManager Save Config - Load Config from Array / File (Docking Persistence Project sample) #124

Open yp25 opened 1 year ago

yp25 commented 1 year ago

Describe the bug Safe config to file and array seems not working correctly for workspace

To Reproduce Steps to reproduce the behavior:

  1. Open and run Project Docking Persistence
  2. Click Save Array
  3. Close Document 5, Properties 1, Input 2
  4. Click Load Array . Properties1(Control) and Input 2 (Control) can be loaded successfully but Document 5 (Workspace) is not loaded
  5. Click Save To File
  6. Close Document 6, Properties 1, Input 2
  7. Click Load From File - > Properties 1 and Input 2 can be loaded successfully but Document 6 is not loaded

From config.xml there is tag KW KP 'Document'

`

` **Expected behavior** Is the load and save behavior normal like this ? only able to save and restore Control ? o **Screenshots** ![error krypton1](https://user-images.githubusercontent.com/2161156/213841143 ![error krypton 2](https://user-images.githubusercontent.com/2161156/213841174-dd6b8831-a6a0-42b8-89b4-9020fb06ce92.png) -f60e0a5e-6894-4361-9b86-3215b9860c0c.png) ![error krypton 3](https://user-images.githubusercontent.com/2161156/213841177-e8156c62-e5be-4a16-b8d1-3847fa8a3066.png) **Desktop (please complete the following information):** - OS: [e.g. iOS] Windows 10 64 bit - VS 2022
infero-ch commented 8 months ago

I have the same issue doing these steps:

this feature is quite essential in an application to save user layout when closing an application and restoring at start-up