Bug 155845 - Security Warning for disabling macros: Enable Macros doesn't execute macros at event "View Created"
Summary: Security Warning for disabling macros: Enable Macros doesn't execute macros a...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
7.4.7.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: QA:needsComment
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-15 06:51 UTC by Robert Großkopf
Modified: 2023-06-30 03:13 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Open the document - first without macros enabled by default, then with security warning (13.67 KB, application/vnd.oasis.opendocument.database)
2023-06-15 06:51 UTC, Robert Großkopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Großkopf 2023-06-15 06:51:20 UTC
Created attachment 187920 [details]
Open the document - first without macros enabled by default, then with security warning

Open the attached database.
There is a macro (only message box), which shows the macro has been executed.
This macro has been connected to 
Tools → Customize → Open Document
and to
Tools → Customize → View Created
So the message box should appear 2 times.

Now open the same file in a folder the security warning should appear before executing macros.
Open the document and press "Enable Macros".
Only one message box will appear. 
Tools → Customize → View Created
won't happen when security warning has appeared.

Expected behavior: If I press "Enable Macros" all events should happen and all macros should been executed.

This behavior appears with LO 7.4.7.2, also with LO 7.5.4.2 on OpenSUSE 15.4 64bit rpm Linux.
Might be it is a very old bug, haven't tested with older versions.