Skip to content
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

Layout document disappears between application sessions #83

Closed
scdmitryvodich opened this issue Oct 25, 2019 · 0 comments
Closed

Layout document disappears between application sessions #83

scdmitryvodich opened this issue Oct 25, 2019 · 0 comments

Comments

@scdmitryvodich
Copy link
Contributor

scdmitryvodich commented Oct 25, 2019

  1. Go to MLibTest project.
  2. Comment in MainWindow.xaml.cs "stringLayoutSerializer.LayoutSerializationCallback += (s, e) =>..." and the following lines with event callback (lines 80-114). (This callback may be absent in real application and will not be called by LayoutSerializer in FixupLayout.)
  3. Compile the project.
  4. Go to compiled application folder and create AvalonDock.Layout.config file with the content of the attached file. Please note that it contains LayoutDocument element with ContentId applied.
  5. Run MLibTest.exe and close it without performing any actions.
  6. AvalonDock.Layout.config was updated and does not contain LayoutDocument.

Desired result: LayoutDocument element with ContentId sholud be kept between sessions.

AvalonDock.Layout.txt

Code

scdmitryvodich added a commit to scdmitryvodich/AvalonDock that referenced this issue Oct 25, 2019
scdmitryvodich added a commit to scdmitryvodich/AvalonDock that referenced this issue Oct 25, 2019
scdmitryvodich added a commit to scdmitryvodich/AvalonDock that referenced this issue Oct 25, 2019
Dirkster99 added a commit that referenced this issue Oct 26, 2019
Fixed issue #83 with LayoutDocument disappearance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants