Apache OpenOffice (AOO) Bugzilla – Issue 16284
crash when reassigning macro to another keyboard shortcut
Last modified: 2003-07-23 11:45:48 UTC
- open new text doc - record a simple macro - save it with the text doc - assign it to a keyboard shortcut (e.g., [Ctrl] + [3]) - test it if it's working - go back to the Assign dialog - delete the current shortcut - reassign it to another keyboard shortcut (e.g., [Ctrl] + [4]) --> Crash
Created attachment 7301 [details] core
Created attachment: Zipped corefile (Solaris Sparc)
Created attachment 7327 [details] Crashreporter Stacktrace
TBE->MBA: I cannot reproduce this, but JSK can.
Better description to reproduce the bug: (1) Create new text document (2) Start Recorder, type some text, close recorder (3) In macro dialog, create new module in the basic of the new document (4) Select the "Main" function and press "Save", confirm overwriting (5) Start Configuration dialog (6) Select any keyboard shortcut (f.e. CTRL-SHIFT-4) (7) Assign it to the macro of the document (8) Close dialog and test shortcut, it works (9) Reopen Configuration dialog, I get an assertion on NonPro version (10) Select the macro in the listbox at the bottom (11) Select the keyboard shortcut of the macro in the big tablistbox (12) Press "Delete" (13) Select another empty shortcut (f.e. CTRL-SHIFT-2) (14) Press "Assign" (15) Close dialog In (14) or (15) you get a crash.
Additional remark: Possibly the reconfiguring (assign macro to a different key) has to be done twice. Then it was always reproducable.
Fixed in RC build
Fixed in CWS sw020
Verified in CWS SW020, sparc. Fixed.
Set to verified.
reopen since still occurs in OOo1.1: Important when trying to reprocuce: 1) To delete the currently assigned shortcut, choose the macro with the bottom-fields "Category"->"Function"->"Keys" 2) When selecting the shortcut in the keys-field the button "delete" will be activated. Click it. 3) Then choose a new shortcut in the filed "Shortcut keys" 4) Click "modify" -> crash (I needed to repeat once with a fresh installation, but subsequent trys crashed immediately after 4) OOo doesn't crash when I select the shortcut in the "shortcut-keys"-field and delete the assignment. I can then successfully assign a new shortcut.
Correction to my last comment: OOo always crashes at second try - e.g you must have (re)assigned the shortcut in a running instance before crash will occur. Notice that - when OOo will chrash (with the described behaviour) - the shortcut-keys-filed displays "[]" instead of "[Main(Standard.Module1)]"
update target-milestone (again: OOo won't crash when deleting the shortcut by selecting it in the shortcut-keys window)
I can confirm the crash under Win XP pro, 1.1rc german I occures exactly, as Christian says.
new keyword "crash"...
I confirm the issue. Strange. It's simply repeating the procedure twice, i never checked that. jsk->mba: Is the fix really in 1.1RC?
.
CD->JSK: This bug is fixed, but currently not included into OOo 1.1rc1/rc2 (based on m9s3). You have to wait until SRX645m11 is included into the next offical OOo build. As discussed by phone you could reproduce that this bug doesn't occur with a latest internal build.
Ack.