Apache OpenOffice (AOO) Bugzilla – Issue 118283
DDEInitiate 20 sec. delay when macro started from cmdline
Last modified: 2014-01-30 19:07:53 UTC
ooMakro.bas is the basic code neded to reproduce the bug. (actually you only nead on line: DDE = DDEInitiate("KNOBO", "SYSTEM") knobodde.cpp is the DDE server that I created to reproduce the bug. This bug was discovered in another program, so I'm happy it was so easy to reproduce it. 1. start OpenOffice.org (don't skip this) 2. start knobodde.exe (tell me if you want a binary version of it) 3. run: soffice.exe "macro:///Standard.Module1.Main()" from a cmdline It should take about 20 sec to run the DDEInitiate function If you run the macro from the macro editor by fex. pressing F5, it takes no time at all (0 sec). If OpenOffice.org is not started befefore you start the macro, it is also almost no delay (maybe about 2 sec. which is also long).
Created attachment 76687 [details] DDE Server to reproduce the bug
Created attachment 76688 [details] Basic script needed to reproduce the bug.
Created attachment 76689 [details] The binary DDE server.
Created attachment 76690 [details] non-debug version of the DDE server
I have debuged this in OOo321, as this is the version I've been able to compile. I have found out where the delay happens (I think). Line 183 in \svtools\source\svdde\ddecli.cxx pImp->hConv = DdeConnect( pInst->hDdeInstCli,*pService,*pTopic, NULL); DdeConnect is not an OpenOffice.org/LibreOffice function. What can I do to make progres now?
getting rid of value "enhancement" for field "severity". For enhancement the field "issue type" shall be used.