Bug 83208 - Macro assigned to document load finished event is not called
Summary: Macro assigned to document load finished event is not called
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version: 4.3.0.4 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-28 22:05 UTC by Max
Modified: 2014-10-13 14:28 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
example to reproduce bug (11.66 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-09-16 22:26 UTC, Oskar Grindemyr
Details

Description Max 2014-08-28 22:05:03 UTC
Steps to reproduce:
1) Create a BASIC macro stored in the document with some visible effect, e.g. MsgBox.
2) Assign it to the document load finished event.
3) Close document.
4) Open it and see that macro was not executed.

Seemed to work in 4.2.1

Tested with Writer.
Comment 1 Joel Madero 2014-09-03 21:25:27 UTC
Please attach a simple document with macro. Marking as NEEDINFO - once you attach the simple document please set to UNCONFIRMED. Thanks
Comment 2 Oskar Grindemyr 2014-09-16 22:26:55 UTC
Created attachment 106395 [details]
example to reproduce bug

I created a document as described with a macro assigned to "Document loading finished" and the bug was reproduced in my version.

Version: 4.2.6.3
Build ID: 420m0(Build:3
Comment 3 raal 2014-10-13 14:28:26 UTC
I can confirm with LO 4.2.6,  4.3.4.0.0+ under Linux.

Error message from Version: 4.3.0.0.alpha1+
A Scripting Framework error occurred while running the Basic script vnd.sun.star.script:Standard.Module1.Main?language=Basic&location=document.
Message: The following Basic script could not be found:
library: 'Standard'
module: 'Module1'
method: 'Main'
location: 'document'

The same error message with version 4.3.2, Win7.
No error message in version 4.2.6, 4.3.4.0.0+, Linux.
I can run macro from hand without problem.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.