Bug 145484 - Smoketest's test document loads without macros attached to controls
Summary: Smoketest's test document loads without macros attached to controls
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
7.3.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2021-11-01 07:08 UTC by Mike Kaganski
Modified: 2022-05-15 03:46 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
smoketest test document (28.74 KB, application/vnd.sun.xml.writer)
2021-11-01 07:08 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2021-11-01 07:08:28 UTC
Created attachment 176048 [details]
smoketest test document

Attachment is the testdocument used in our smoketest. It loads with macros attached to its buttons' 'Execute action' events in 7.2.2.2, but the events are not assigned when loaded in current master: Version: 7.3.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: cae7b855a5fd479e6df822f974870f42e91ce068
CPU threads: 12; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL

1. Open the document
2. Form->Design Mode
3. Right-click on a button, and choose 'Control Properties'
4. On 'Events' tab, check 'Execute action'

In 7.2.2.2, the action is assigned to a macro.
In 7.3.0.0.alpha1+, it is empty (no matter if macros are allowed or not).
Comment 1 Jean-Baptiste Faure 2022-05-14 15:44:15 UTC
Not reproducible in master:

Version: 7.4.0.0.alpha1+ / LibreOffice Community
Build ID: c63b86501828d35c3a80aa5be2d70f992b4f1b23
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: en-US
Ubuntu_20.04_x86-64
Calc: threaded

Not reproducible in LO 7.3.4.0.0+:
Version: 7.3.4.0.0+ / LibreOffice Community
Build ID: f668663d63d5b0f37d4727b54585c3b67ab92162
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Ubuntu_20.04_x86-64
Calc: threaded

For both versions, the field 'Execute action' contains the name of an existing macro contained in the file.

Closing as WorksForMe. Please feel free to reopen if you disagree.

Best regards. JBF