This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.

LMDDockManager 2025.2 Access violation loading a saved layout having a floating panel

This error occurs only if I have a floating doc panel with 2025.2 under Delphi 13.

I had no issue with the floating doc panel invoking LMDDockManager.SaveToStream and LoadFromStream with 2025.1 under Delphi 12.3.  However, with Delphi 13 and 2025.2, the SaveToStream works fine (I can load it with a 2025.1 Delphi 12.3 build), I get an Access Violation using LoadFromStream with 2025.2 Delphi 13 build, but only if I have a floating doc panel.

Eric

Comments

  • It is occurring in LMDDockSite.pas, TLMDDockManager.FindSite.  This line:
    form   := TLMDFloatingForm(fscls).CreateEx(Application, Self);

    Tracing into the TLMDFloatingForm.CreateEx constructor, it fails on CreateNew(AOwner).

  • I meant LMDDckSite.pas in previous posts (no o in Dock).

    FWIW, I copied LMDDckSIte.pas from 2025.1 to 2025.2 and rebuilt. I no longer get the Access Violation, and it properly handles the floating doc panel.
  • Thanks for the report. This is already fixed. As a fast woraround, if you can modify sources, please replace the line:

    form   := TLMDFloatingForm(fscls).CreateEx(Application, Self);

    with the following line:

    form   := TLMDFloatingFormClass(fscls).CreateEx(Application, Self);
Sign In or Register to comment.