Skip to content

SaveConfigToArray and LoadConfigFromArray not working correctly #270

@ckak07

Description

@ckak07

Hello,

I am using the Krytpon-Docking-Library in the nuget package version 95.25.8.235. I am implementing an application that looks like this:

Image

If I create a new KryptonPage and place this dockable window in the right edge of the logging window (The bottom window) I get the following result:

Image

If I save the configuration and load it when starting the application I get the following result:

Image

You see that the new added KryptonPage called DeviceLog is missing. But If change the order how I place the device log page on my screen the result changes. If I restart my application and then follow the procedure below, the DeviceLog window appears correctly the next time I start the application:

  • Create DeviceLog window
  • Dock the DeviceLog window to the chart window
  • Then dock the DeviceLog window to the Logging window

Following this procedure the result of my application after starting it looks like this:

Image

What I did next is compare the configurations I get for both processes. Here are the files:

wrongConfiguration.txt
correctConfiguration.txt

Comparing the configurations show that the correct configuration contains another section under the chart workspace.

Image

Please help me to solve the problem.

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions