Is there an alternative to the AnchorDocking/(Dsgn) packages? lazarus / 13-General ---------------------------------------------------------------------- carl_caulkett · 2022-03-18 14:48 Lazarus 2.3 FPC 3.3.1 Mac Mini M1 macOS 12.3 I've been having great problems trying to setup my Lazarus with an AnchorDocked setup. The components, on macOS, at least, seem to be completely broken. The last time it worked properly was with Lazarus 2.0.12. The problem emerged with 2.2RC1, and, seemingly, has never been fixed. Is there another package that achieves to same thing as AnchorDocking/(Dsgn)? Preferably one that allows Lazarus to be started repeatedly without reverting to a minute 320 x 260 box in the corner, before crashing completely? ---------------------------------------------------------------------- balazsszekely · 2022-03-18 14:55 QuoteI've been having great problems trying to setup my Lazarus with an AnchorDocked setup. The components, on macOS, at least, seem to be completely broken. The last time it worked properly was with Lazarus 2.0.12. The problem emerged with 2.2RC1, and, seemingly, has never been fixed.Please report it on the Bugtracker. QuoteIs there another package that achieves to same thing as AnchorDocking/(Dsgn)? Preferably one that allows Lazarus to be started repeatedly without reverting to a minute 320 x 260 box in the corner, before crashing completely?Not that I'm aware of. Are you using Anchordocking alone or combined with DockedFormEditor? ---------------------------------------------------------------------- carl_caulkett · 2022-03-18 15:36 I've reported it on BugTracker issue #39679. I've tried AnchorDockingDsgn both with and without DockedFormEditor. I currently have it working with DockedFormEditor, without any apparent problems. ---------------------------------------------------------------------- Martin_fr · 2022-03-18 16:27 I can't help with the Mac specifics. But there may be some details you can find, and add, and they may help getting to the source of the issue. Looking at the trace, there are actual 2 bugs. 1) A Crash/Exception while resizing 2) Triggered by 1, the IDE tries to show a dialog about the exception. Only MacOS does not allow that during resize. (apparently / from the error) So to get the details about 1: lcl\lclmessageglue.pas line  115 in function DeliverMessage(const Target: TObject; var AMessage): PtrInt; replace:  Application.HandleException(nil); with:  Sysutils.ShowException(E,ExceptAddr); run from console, and hopefully it will show the exception message. To get the trace, you may need to run in the debugger. Or maybe, if you get addresses => menu: view > leaks and traces: paste the stack, and press resolve, and select the lazarus exe (may need to be the file in the app bundle, not sure). Also, the IDE would need to be compiled with debug info, even for printing the address only stack. ---------------------------------------------------------------------- carl_caulkett · 2022-03-18 17:35 Thanks for the reply Martin, it doesn't explain, however, why Lazarus, which was sized to occupy the full screen when closed, then collapsed to a minimal state (320 x 250) even before I tried to resize it.