Issue 16284 - crash when reassigning macro to another keyboard shortcut
Summary: crash when reassigning macro to another keyboard shortcut
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 1.1 Beta2
Hardware: All All
: P2 Trivial (vote)
Target Milestone: OOo 1.1 RC
Assignee: joerg.skottke
QA Contact: issues@framework
URL:
Keywords: crash, oooqa
Depends on:
Blocks:
 
Reported: 2003-07-01 11:26 UTC by joerg.skottke
Modified: 2003-07-23 11:45 UTC (History)
2 users (show)

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


Attachments
core (4.83 MB, application/octet-stream)
2003-07-01 11:42 UTC, joerg.skottke
no flags Details
Crashreporter Stacktrace (39.03 KB, text/plain)
2003-07-02 09:58 UTC, joerg.skottke
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description joerg.skottke 2003-07-01 11:26:41 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
Comment 1 joerg.skottke 2003-07-01 11:42:18 UTC
Created attachment 7301 [details]
core
Comment 2 joerg.skottke 2003-07-01 11:43:12 UTC
Created attachment: Zipped corefile (Solaris Sparc)
Comment 3 joerg.skottke 2003-07-02 09:58:52 UTC
Created attachment 7327 [details]
Crashreporter Stacktrace
Comment 4 thomas.benisch 2003-07-02 11:59:46 UTC
TBE->MBA: I cannot reproduce this, but JSK can.
Comment 5 Mathias_Bauer 2003-07-02 14:10:35 UTC
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.
Comment 6 Mathias_Bauer 2003-07-02 15:34:06 UTC
Additional remark:
Possibly the reconfiguring (assign macro to a different key) has to be
done twice. Then it was always reproducable.

Comment 7 Mathias_Bauer 2003-07-02 15:37:49 UTC
Fixed in RC build
Comment 8 Mathias_Bauer 2003-07-03 09:38:35 UTC
Fixed in CWS sw020
Comment 9 joerg.skottke 2003-07-03 13:51:38 UTC
Verified in CWS SW020, sparc. Fixed.
Comment 10 stefan.baltzer 2003-07-03 14:28:54 UTC
Set to verified.
Comment 11 lohmaier 2003-07-18 18:07:55 UTC
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.
Comment 12 lohmaier 2003-07-18 18:22:17 UTC
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)]"
Comment 13 lohmaier 2003-07-18 18:25:06 UTC
update target-milestone
(again: OOo won't crash when deleting the shortcut by selecting it in
the shortcut-keys window)
Comment 14 andreschnabel 2003-07-18 18:47:58 UTC
I can confirm the crash under Win XP pro, 1.1rc german
I occures exactly, as Christian says.
Comment 15 lohmaier 2003-07-21 13:06:56 UTC
new keyword "crash"...
Comment 16 joerg.skottke 2003-07-22 08:50:25 UTC
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?
Comment 17 joerg.skottke 2003-07-22 08:53:07 UTC
.
Comment 18 carsten.driesner 2003-07-22 09:43:03 UTC
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.
Comment 19 joerg.skottke 2003-07-22 09:51:28 UTC
Ack.
Comment 20 joerg.skottke 2003-07-23 11:44:53 UTC
.
Comment 21 joerg.skottke 2003-07-23 11:45:48 UTC
.