Description: After changing Pagestyle, eg. backGraphicURL or fillBitmapURL by macro, the form cannot be closed. The background is successfully applied. Everything else are working, but when i try to close the form by X(top right) or by Menu - Close, the form is not closing, it remains open. I have to close the ODB file itself. My file works in 7.5, but in 7.6 it doesn't work anymore. Steps to Reproduce: 1. oPage= ThisComponent.StyleFamilies.getByName("PageStyles").getByindex(0) 2. oPage.BackGraphicURL = converttoURL(ofile) 3. Actual Results: form cannot be closed neither by X on the top right corner nor using MENU - CLOSE Expected Results: form should be closeable Reproducible: Always User Profile Reset: Yes Additional Info: when i downgrade from 7.6 back to 7.5, my file works fine.
Created attachment 194335 [details] test file
Created attachment 194336 [details] how to reproduce the error You can see the same file, startet with Libreoffice 7.5.9 and 7.6.7. With 7.5.9 it works. With 7.6.7(all 7.6.x versions) not working.
Could confirm the buggy behavior for Version: 7.6.4.1 (X86_64) / LibreOffice Community Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1 CPU threads: 6; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb) Locale: de-DE (de_DE.UTF-8); UI: de-DE Calc: threaded Also on newer versions like LO 24.2.3.2 Doesn't appear in LO 7.5.5.2 on the same machine. So a regression.
This seems to have begun at the below commit in bibisect repository/OS linux-64-7.6. Adding Cc: to Michael Stahl ; Could you possibly take a look at this one? Thanks 3aafd1bd00b19acfbeb4a824bd7fd48290d0cdd3 is the first bad commit commit 3aafd1bd00b19acfbeb4a824bd7fd48290d0cdd3 Author: Jenkins Build User <tdf@pollux.tdf> Date: Mon Oct 30 15:51:08 2023 +0100 source bde746141f9b382156a5ce79ebf82c5e32fc455b 153147: tdf#146547 sfx2: allow read-only documents to be modified | https://gerrit.libreoffice.org/c/core/+/153147
*** This bug has been marked as a duplicate of bug 157931 ***