https://bugs.documentfoundation.org/show_bug.cgi?id=141769

--- Comment #37 from Laurence 'GreenReaper' Parry <[email protected]> ---
As might be hinted at from the commit, it's not necessary to close the window
to trigger the crash; just disable the Formula Bar via: View/Formula Bar.

The setting appears to be changed first, so subsequently restarting Calc and
then closing the window will succeed without a crash, because there is no
InputBox to dispose. This may be why it has not been universally reproducible.

It appears non-determinsitic as to whether disabling the Formula Bar causes a
crash if you click the expand-down button and/or type content into the InputBox
first. I have been able to close the Formula Bar and app, but not repeatably.

---

A bunch of code changed in that commit, so it's hard to pick out what caused
it, but presumably those who know it might have a better idea.

I notice in ScAccessibleEditLineTextData (AccessibleText.cxx) existing
isDisposed asserts were removed. How certain is it that mpTxtWnd isn't
disposed? (These were commented out as "TODO" at one point?)

Class ScTextWnd has a WeakReference xAcc, but in ScTextWnd::CreateAccessible it
is set to a Reference instead. The same pattern is used for
ScEditWindow::CreateAccessible, but it looks to have been a bigger change for
ScTextWnd, which has also modified disposal, eliminating steps and dispose()
itself (called by ~ScAcessibleEditObject?) in favour of a destructor.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to