Apache OpenOffice (AOO) Bugzilla – Issue 34509
Form Functions: Properties, Events tab page crash
Last modified: 2005-01-06 13:10:41 UTC
Add a Form Functions control (tested with check box, button) to a text doc. Open Control properties dialog, tab page Events. Click any of the "..." buttons. Crash
*** Issue 34533 has been marked as a duplicate of this issue. ***
accepting
fs->dfoster: Somehow, _SvxMacroTabPage::DisplayAppEvents thinks that all events we're passing don't have a UI name, it does not add any entries to the list box. This then causes a crash at the very bottom of the method, at rListBox.Select( rListBox.GetEntry(0) ); which tries to select a NULL entry. I am pretty sure that we didn't change the event handling in the property browser recently. This sounds to me more like a regression of the scripting framework changes. side note: the same crash happens when trying to assign macros to Basic Dialog controls in the Basic IDE.
"regression in scripting framework"? Is this related to the fact that since some weeks, there is no more command for Beans and JavaScript in the Tools-Macros-Organize Macros submenu?
Two problems here: 1) The dialog code is not checking for NULL objects before trying to select. 2) The list of events passed in is empty. There is another issue relating to this but I don't have the number to hand. The problem with the missing organisers is due to the move to the native installers. Java components now must write their own data into the services.rdb, whereas before this was hardcoded in the scp project. This is issue 33576.
Have fixed the dialog code. Issue 33972 is tracking why no events are being passed in.
Duncan has commited the fix in the scriptingf6 CWS. With this fix the dialog will not crash anymore, but due to bug 33972 the list of events may be empty.
verified
*** Issue 35696 has been marked as a duplicate of this issue. ***
*** Issue 36473 has been marked as a duplicate of this issue. ***
closed