I saw several posts on here regarding issues with LibreOffice Base forms not saving the correct size. I upgraded from version 6.1 to 7.0.4 and the issue still persists. It seems the issue has persisted for years, from what I have seen in the forum. And I was not able to get the simple macro to work.
I created the macro under
Tools → Macros → Organize Macros → Basic:
thisComponent.currentController.Frame.ContainerWindow.PosSize(100, 100, 100, 100, 15)
And then in design mode for the form, I assigned the macro:
Tools → Customize → Events
I tried each the ‘Document loading finished’, ‘Open Document’, and ‘Activate Document’. None worked and the form continues to open on the entire screen. Please let me know if this has finally been fixed in version 7 (and I’m missing a setting or something). Or if there is a different macro that should be used. Thank you!