Issue 46674 - Appending Basic library destroys its event handlers
Summary: Appending Basic library destroys its event handlers
Status: ACCEPTED
Alias: None
Product: General
Classification: Code
Component: scripting (show other issues)
Version: 680m87
Hardware: All Windows XP
: P3 Trivial (vote)
Target Milestone: AOO Later
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-05 09:12 UTC by bmarcelly
Modified: 2017-05-20 11:31 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Document with dialog event handlers, version OOo 1.1 (9.30 KB, application/vnd.sun.xml.writer)
2005-04-05 09:13 UTC, bmarcelly
no flags Details
Document with dialog event handlers, version OOo 1.9 (10.44 KB, application/vnd.oasis.opendocument.text)
2005-04-05 09:14 UTC, bmarcelly
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description bmarcelly 2005-04-05 09:12:27 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.
Comment 1 bmarcelly 2005-04-05 09:13:52 UTC
Created attachment 24669 [details]
Document with dialog event handlers, version OOo 1.1
Comment 2 bmarcelly 2005-04-05 09:14:31 UTC
Created attachment 24670 [details]
Document with dialog event handlers, version OOo 1.9
Comment 3 bmarcelly 2005-08-11 11:02:21 UTC
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 !
Comment 4 noel.power 2005-09-02 09:05:08 UTC
reassign to ab
Comment 5 ab 2005-09-02 14:15:53 UTC
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.
Comment 6 thomas.benisch 2005-09-07 14:22:18 UTC
set target OOo Later
Comment 7 thomas.benisch 2005-12-05 16:52:46 UTC
TBE->AB: As discussed to you.
Comment 8 ab 2006-05-17 11:59:57 UTC
STARTED
Comment 9 Marcus 2017-05-20 11:31:02 UTC
Reset assigne to the default "issues@openoffice.apache.org".