Apache OpenOffice (AOO) Bugzilla – Issue 46674
Appending Basic library destroys its event handlers
Last modified: 2017-05-20 11:31:02 UTC
With Macros > Basic > Organizer you can append in "My Macros" a library found in a document. This library may contain a dialog and some control-related event handlers. Problem - if the document is created with 1.9 , the dialog will not work in the library copied into "My Macros". - if the document is created with 1.1, the dialog will work as expected. How to reproduce I will provide two documents in attachments : a simple dialog library created with 1. 1.3 and the same dialog created with 1.9m87. Append the library Test into "My Macros" and run macro Main. Repeat this with the other document, overwriting the previous library. Attention : the attached documents must not be opened in foreground during these tests. Explanation When copying the 1.9 library, the location of each event handler should have been modified from "document" to "application". When copying the 1.1 library, the url is different. It does not have to be modified to work.
Created attachment 24669 [details] Document with dialog event handlers, version OOo 1.1
Created attachment 24670 [details] Document with dialog event handlers, version OOo 1.9
Hello, anyone there for framework matters? Four months have passed. I can still reproduce it on 1.9.113 The bug is a problem when you want to distribute a document containing a library that the end user will have to append to My Macros. You simply can't do that with the Oasis format !
reassign to ab
ab->tbe: Seems to be more dialog related than the many other issues I got from Noel. :-) So please have a look at this one.
set target OOo Later
TBE->AB: As discussed to you.
STARTED
Reset assigne to the default "issues@openoffice.apache.org".