Apache OpenOffice (AOO) Bugzilla – Issue 76415
Cannot assign macro to autotext in non-english ui
Last modified: 2017-05-20 10:30:46 UTC
Several issues (e. g. 27454 and 32543) were opened regarding this bug - but I found it is NOT fixed yet (at least not in every language...). Try to attach a macro to an autotext by the following procedure: 1. EDIT -> AUTOTEXT 2. choose a given autotext like "Acknowledgement of Receipt" 3. choose AUTOTEXT -> MACRO... 4. assign any reasonable macro 5. choose INSERT IF YOU DO THIS USING THE US-ENGLISH GUI EVERYTHING WORKS FINE - BUT TRY THE SAME WITH A GERMAN UI - AND IT FAILS!
confirming the issue. Works in OOo 1.1.5, doesn't work in 2.2.0 In the german (or french) version, you can assign a macro in the dialog, but that doesn't get saved. When you close and reopen that dialog, the setting is lost already. You cannot tie a macro to an autotext. This has been reported for Windows and confirmed on linux and Mac, so OS to ALL, since it worked in 1.1.5 (and maybe earlier 2.x versions) I set the regression keyword.
Reassigned to SBA.
SBA->OS: Please proceed.
->oseebass: I tried it with a German m216 and a German/Portuguese m215. Everything worked as expected.
Sorry, I tried with german 680m18 (Build: 9161) and experienced the same as stated before: It is not possible to attach a macro to any AutoText. I do the following: 1. Attach macro to autotext 2. select "OK" 3. select the same autotext again 4. result: no macro is attached to autotext. regards oliver
cloph: can you please try it again and see, if it works or not now and provide description on how to reproduce this?
I think the problem is not linked to the non-english UI but to the nature of the Autotext. With windows XP - OOo 2.2 - French UI or English UI I reproduce the problem only with autotexts created with the "New" option. To reproduce : 1. Create an autotext with the "New" option 2. Autotext / Macro 3. Choose a macro, click on Assign. 4. The macro seems to be assigned : vnd.sun.star.script... appears 5. Close the dialog by Ok 6. Autotext / Macro : assignation is lost... Everything works as expected with autotexts created with the "New (text only) option.
Oliver, please have a look
still a problem in 330 on Ubuntu, with description as in #desc8
Fixed in cws os150 in xmloff/source/text/XMLAutoTextEventExport.cxx
The change set is in: http://hg.services.openoffice.org/cws/os150/rev/089076d9e562 Reviewed by mst
Reassigned for verification
Verified fix in CWS os150.