Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Poor Macro performance... | ||
---|---|---|---|
Product: | Writer | Reporter: | capstone737 <brad> |
Component: | code | Assignee: | chne |
Status: | CLOSED FIXED | QA Contact: | issues@sw <issues> |
Severity: | Trivial | ||
Priority: | P3 | CC: | issues |
Version: | OOo 1.1 RC5 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
capstone737
2003-10-08 04:44:58 UTC
please discuss this in the mailing list, maybe there is somebody can help/confirm please discuss this in the mailing list, maybe there is somebody can help/confirm I have given up on OOo for this document and gone back to Word 97 and it works OK. I have discovered something else about macros though. In Word, you create your macro - which is just a collection of keystrokes - that you wish to perform. Then you map it to a key and hit the key to run the macro. In this case, with such a large document, I have mapped it to the F4 key, and just held the key down to auto-repeat the macro and it zooms through the document, making the required changes. I tried the same thing in OOo and because of the previously mentioned delays I could only hit the F4 key every second or two. If I tried to hit it more frequently, OOo seemed to lose it's way and start the next macro (with the next F4 depression) before the first one was completed and so it cut the wrong lines out of the document. If I hold the F4 key down (as in MS Word), it cut the document to pieces. I have tried this on two different PCs (both with MS Office 97 and OOo 1.1RC5 installed) and have created some more, simpler, macros - like remove a tab, step down a line and then delete that next line - and OOo suffers in the same way, cutting up the document as the next macro iteration starts before the first one has completed, while MS Word works perfectly. reassigend to sw can you please take a look on this issue? SW->CN: please take a look at this I've created a bugdoc which shows the effect very easily. Open bugdoc and go to end of document. Assign the macro of the document to a keyboard-key you like. The macro deletes the word "Hallo" so only "Welt" should stay. If you hold down your key you will see some "mistakes" cn->ab: maybe it's an problem with rescheduling. Fixable with new scripting framework? cn->ab: sorry for submitting late, but handling of issuzilla sometimes make trouble ;-) grrr Has to be evaluated... ab->cn: Marcro events now are executed using the Scripting Framework. The Basic ScriptProvider prevents multiple calls to Basic. So if this was the problem it should be fixed now. I tested capstone737's macro and it seemed to work ok. Where is your bugdoc? There's no attachment and I didn't find it on Q: either. Could you please have a look and close this task if you also think the problem is fixed. ok in src680_m124 close |