Bug 101929 - No event "Document saved" while first saving a calc document
Summary: No event "Document saved" while first saving a calc document
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
5.1.4.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-06 11:03 UTC by adrian
Modified: 2016-09-08 20:32 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description adrian 2016-09-06 11:03:40 UTC
When I create a new Calc document, the first time I save it there is no event "Saving document" nor "Document saved". Only the following times, they are fired.
To reproduce the bug, I created macros"SavingDoc" and "DocSaved", each showing an appropriate message, and associated them with the events.
Comment 1 Cor Nouws 2016-09-06 19:34:37 UTC
Hi adrian,

Thanks for reporting.
Can you please attach the test document?
thanks - Cor
Comment 2 Maxim Monastirsky 2016-09-08 20:32:34 UTC
The first time you save a document, what happens is "Save as" not "Save". So you should use the "Save as" events instead. Closing as NOTABUG.