Bug 161201 - Modify Pagestyle by macro, the modified form cannot be closed
Summary: Modify Pagestyle by macro, the modified form cannot be closed
Status: RESOLVED DUPLICATE of bug 157931
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
7.6.7.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2024-05-21 15:17 UTC by len lau
Modified: 2024-06-05 16:37 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
test file (12.42 KB, application/vnd.sun.xml.base)
2024-05-24 14:48 UTC, len lau
Details
how to reproduce the error (7.42 MB, video/mp4)
2024-05-24 14:51 UTC, len lau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description len lau 2024-05-21 15:17:23 UTC
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.
Comment 1 len lau 2024-05-24 14:48:44 UTC
Created attachment 194335 [details]
test file
Comment 2 len lau 2024-05-24 14:51:16 UTC
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.
Comment 3 Robert Großkopf 2024-05-25 09:47:10 UTC
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.
Comment 4 raal 2024-05-29 17:09:59 UTC
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
Comment 5 Michael Stahl (allotropia) 2024-06-05 16:37:05 UTC

*** This bug has been marked as a duplicate of bug 157931 ***