Apache OpenOffice (AOO) Bugzilla – Issue 2626
CRASH when assigning SHORTCUT KEY to MACROS
Last modified: 2003-09-08 16:56:16 UTC
If you assign a SHORTCUT KEY to a MACRO, the program will crash whenever you try to use that shortcut key or click on TOOLS --> CONFIGURATION. Here are exact instructions to reproduce this error: Go to Tools --> Configuration and select the KEYBOARD tab. In the bottom left box (FUNCTIONS/CATEGORY) highlight "OpenOffice.org BASIC macros", then select "Form Wizard/Form Wizard/MainWithDefault). Assign CTRL-F to this macro. Exit the dialogue box. Now, if you try CTRL-F, it works fine. Close out of OpenOffice completely (meaning remove Loadstarter or anything else in memory) and start up again fresh. Clicking on CTRL-F or choosing TOOLS --> CONFIGURATION will crash the program. I have found this error with Windows & Linux versions, including the newest 641C and dating back to build 638.
Reassigned to Joost.
JA: wasn't able to reproduce it on local (recent) wntmsci7.pro build. Need to check against oo641c build as well
Tested again in recent Linux build: --> not reproduceable anymore (saw it in OO.o 641c build as well)
I have reproduced this bug in Linux 641C. I tried it on Windows 2000 and wasn't able to get it to crash.
Is there a way to clean your Configuration so you can at least get into it again?
I get this problem running build 641c under Windows 98. It does not occur if I assign a shortcut key to an internal command, but it does occur if I assign a key to a macro. Once I do that, then close down and re-open the program, I get an unrecoverable error every time I try to use the assigned key, or to run Tools/Configure, or to run Tools/Macro/Assign. The way to clear the problem is to delete the file writerkeybinding.xml which is held in user\config\soffice.cfg. Obviously this means you lose all your key assignments. The same problem occurs with Scalc. In this case the file to delete is calckeybinding.xml, held at the same location. In Scalc I have also tried saving a configuration. The program crashes when you try to load the saved configuration. My McAfee Crash Guardian reported the following error: C:\PROGRAM FILES\OPENOFFICE.ORG641\PROGRAM\SOFFICE.EXE caused an "Access Violation" fault in module SFX641MI.DLL at 0177:1D590594. But this may have been when the program was trying to reload, rather than when the original crash occurred. If someone can tell me where to send it (I'm new to this)I can provide copies of writerkeybinding.xml and calckeybinding.xml.
Joost->Colin: please add your files as attachment Joost->Stefan: as discussed...reassigned to you
Created attachment 1219 [details] Keyboard assignments for sCalc which cause crash
Created attachment 1220 [details] Keyboard assignments for sText which cause crash
Ok, I've attached the relevant files - see above. To generate these I created a trivial macro called CMW_TestMinimal in soffice/standard/Module1 and assigned it to key F4 in sCalc and sWriter.
I have now tried this on 641D (Windows98) and the problem does NOT occur in either sCalc or sText.
Yes, this issue appears resolved in 641D, so I am closing out the bug.
This task is fixed or worked in OOo 1.1 beta2.
closed ...