Issue 76415 - Cannot assign macro to autotext in non-english ui
Summary: Cannot assign macro to autotext in non-english ui
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 2.2
Hardware: All All
: P3 Trivial (vote)
Target Milestone: 3.4.0
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords: oooqa, regression
Depends on:
Blocks:
 
Reported: 2007-04-16 17:24 UTC by oseebass
Modified: 2017-05-20 10:30 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description oseebass 2007-04-16 17:24:25 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!
Comment 1 lohmaier 2007-04-16 21:51:17 UTC
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.
Comment 2 michael.ruess 2007-04-17 08:01:21 UTC
Reassigned to SBA.
Comment 3 stefan.baltzer 2007-05-15 15:52:04 UTC
SBA->OS: Please proceed.
Comment 4 Oliver Specht 2007-06-22 11:39:12 UTC
->oseebass: I tried it with a German m216 and a German/Portuguese m215.
Everything worked as expected. 
Comment 5 oseebass 2007-06-22 12:34:02 UTC
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
Comment 6 pavel 2007-08-02 12:56:06 UTC
cloph: can you please try it again and see, if it works or not now and provide description on how to 
reproduce this?
Comment 7 py_samyn 2007-09-06 08:03:44 UTC
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.
Comment 8 Mathias_Bauer 2011-02-09 11:12:59 UTC
Oliver, please have a look
Comment 9 cno 2011-02-09 12:01:09 UTC
still a problem in 330 on Ubuntu, with description as in #desc8
Comment 10 Oliver Specht 2011-02-21 15:36:12 UTC
Fixed in cws os150 in 
xmloff/source/text/XMLAutoTextEventExport.cxx
Comment 11 Oliver Specht 2011-02-28 09:32:20 UTC
The change set is in: 
http://hg.services.openoffice.org/cws/os150/rev/089076d9e562

Reviewed by mst
Comment 12 Oliver Specht 2011-03-01 12:55:28 UTC
Reassigned for verification
Comment 13 michael.ruess 2011-03-07 13:19:38 UTC
Verified fix in CWS os150.