Created attachment 190437 [details] LO Base file with macro. Form wll not close. The attached LibreOffice Base file illustrates a problem that appears in 7.6.2.2 but not in 7.4.3.2. I'm using Slackware 15.0. I see the same problem in Win10. In 7.4.3.2 Open file aik_backgroundcolor.odb enable macros if necessary Open Form1 mouse click the button "Change form color" which invokes a macro The color of the form changes mouse click the top right close button the form closes successfully In 7.6.2.2 Open file aik_backgroundcolor.odb enable macros if necessary Open Form1 mouse click the button "Change form color" which invokes a macro The color of the form changes mouse click the top right close button the form fails to close
Bibisected with win64-7.6 to bde746141f9b382156a5ce79ebf82c5e32fc455b tdf#146547 sfx2: allow read-only documents to be modified I see the commit touches code related to Base forms.
AFter a minimum amount of thought added this line to macro ThisComponent.setModified(False) my issue solved