Bug 154625 - Every time you start LibreOffice - "Security Warning: The document contains macros."
Summary: Every time you start LibreOffice - "Security Warning: The document contains m...
Status: REOPENED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.5.0.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Error-Messages
  Show dependency treegraph
 
Reported: 2023-04-05 16:12 UTC by TMKR
Modified: 2023-10-05 09:58 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
screenshot of setting and warning (49.88 KB, image/png)
2023-04-05 17:10 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description TMKR 2023-04-05 16:12:45 UTC
Description:
Every time you start LibreOffice with "Disable Macro Execution"=true Security Warning appears with "Security Warning: The document contains macros."

Steps to Reproduce:
1.Open any LibreOffice Application
2.Securtiy Warning appears 
3.

Actual Results:
Security Warning: The document contains macros

Expected Results:
No Warning 


Reproducible: Always


User Profile Reset: No

Additional Info:
Every time you start LibreOffice with "Disable Macro Execution"=true Security Warning appears with "Security Warning: The document contains macros."
Comment 1 Xisco Faulí 2023-04-05 16:38:25 UTC
Hello,
Just go to Tools - Options - Security and change the macro security.
Closing as RESOLVED NOTABUG
Comment 2 Eike Rathke 2023-04-05 17:02:20 UTC
Fwiw, I'd set the level to highest and add a directory to the trusted locations and put all legit documents containing macros there.
Comment 3 Regina Henschel 2023-04-05 17:10:16 UTC
The warning is wrong. If a warning is intended, then it should be something like "Execution of script languages is disabled."

The setting in question is in "Expert Configuration". The description in common.xcs is
<desc>Specifies whether the macro execution is disabled in general.
            This will disable Basic, Beanshell, Javascript and Python scripts.
            If it is set to true, the "MacroSecurityLevel" is ignored. If it is
            set to false, the mentioned entry specified the level of macro
            security.</desc>
Comment 4 Regina Henschel 2023-04-05 17:10:45 UTC
Created attachment 186494 [details]
screenshot of setting and warning
Comment 5 TMKR 2023-04-14 16:42:23 UTC
The big advantage of the setting "Disable Macro Execution"=true in Expert Configuration is that nothing from the macro menu is changeable or applicable.
Since version 7.5 the problem with the warning exists whenever one of the LibreOffice component is started.
The warning "Security Warning: The document contains macros" unfortunately suggests a wrong information in the warning.
Comment 6 Ramirez.Ron 2023-07-30 18:43:03 UTC
greetings 
We have just migrated to version 7.5. A Solution to this Problem would also be in our interest because the warning creates uncertainty for the users.