Apache OpenOffice (AOO) Bugzilla – Issue 100956
Document event assignments lost when opened from beamer
Last modified: 2009-05-04 17:12:48 UTC
To reproduce: Download the attached odb file. Register the file as a datasuorce. [macro execution does NOT need to be enabled] Open the file with File>Open Open Tools>Customize and check the Events tab. "Open Document", "Activate Document", and "Loaded a sub-component" are each assigned to a macro. Close the document. Create a new text file and open the datasource browser. (F4) Select the datasource name given to the test document. Use the context menu "Edit Database File" to open the file again. Now open Tools>Customize and check the Events tab. All macro assignments have been lost.
Created attachment 61458 [details] Bug doc
Uhm, yes ... stupid error, caused by the data-source/document-model duality. Thanks a lot for finding and reporting.
fixed in CWS dba31m find more information about this CWS, like when it is available in the master builds, in EIS, the Environment Information System: http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300%2Fdba31m
fs->msc: please verify in CWS dba31m
verified in cws dba31m
Well - I'm not sure how to proceed here. 1) The assignments are not lost when the file is opened any longer - so literally this issue can cloe 2) The scripting functionality is still badly messed up. For instance create a custom menu item, assign to a basic macro stored IN the document. It will not execute the menu item if the file was opened from the beamer. Same is true for macros assigned to document level events. HOWEVER - if you use the Tools>Macros to run any macro in the file, it works...I will send more details via mailing list. Question is Reopen this issue or Open 1 or more new issues? (I'm thinking close this and open new...)
uhm ... "badly messed up" is not exactly how I would describe this :-\ I'd say a new issue for the "macros from menu items not executed when DB opened from the data source browser" problem, please.
Closing