Float windows on external monitors saving layout causes VS crash

4 posts, 0 answers
  1. Rob
    Rob avatar
    27 posts
    Member since:
    Feb 2012

    Posted 24 Sep 2018 Link to this post

    I am saving the layout using the savelayout method on the docking control.

    This works fine (although i have no pane titles but that is another question) until I float panes on external monitors (I have 3). 

    When I do this and I use the save layout method I get an error 'Managed Debugging Assistant: 'FatalExecutionEngineError'. The runtime has encountered a fatal error. The address of the error was at 0x65bf395f, on thread 0x4548. The error code is 0x80131623. This error may be a bug in the CLOR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.

    My code (in the Window closing event) is:

    MemoryStream stream = new MemoryStream();
    DockMain.SaveLayout(stream);

    stream.Seek(0, SeekOrigin.Begin);

    StreamReader reader = new StreamReader(stream);

    var layout = reader.ReadToEnd();

    Then i persist layout to a file.

     

    Can you please assist.

     

    Rob

  2. Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    1074 posts

    Posted 27 Sep 2018 Link to this post

    Hello Rob,

    I tried to reproduce the issue you've described with the "Save/Load layout with PaneSource" demo from our SDK Samples Browser on my two-monitor setup but I was, unfortunately, unable to do so.
     
    Would you find it possible to isolate this issue in a small sample project, open a new support ticket (so that you can attach an archive with it) and send it over so that I can further investigate? If it would be easier for you, you can use the aforementioned demo as the base of your isolation.

    Thank you in advance for your cooperation on the matter. I look forward to your reply.

    Regards,
    Dilyan Traykov
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  3. Rob
    Rob avatar
    27 posts
    Member since:
    Feb 2012

    Posted 27 Sep 2018 in reply to Dilyan Traykov Link to this post

    Many thanks Dilyan,

     

    I've opened a support ticket as requested.

     

    Rob Collett

  4. Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    1074 posts

    Posted 27 Sep 2018 Link to this post

    Hello Rob,

    Thank you for the cooperation. We will try to address your case as soon as possible.

    Regards,
    Dilyan Traykov
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top