[Libreoffice-bugs] [Bug 115950] EDITING: Crash while selecting cell format with double-click

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jul 9 23:05:25 UTC 2018


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

--- Comment #13 from Eike Rathke <erack at redhat.com> ---
So the root cause seems to be the unconditional return true in
SvTreeListBox::DoubleClickHdl() introduced with
http://cgit.freedesktop.org/libreoffice/core/commit/?id=b649ce123dea372359ec571135a68eb3de844e5b
that should instead be the previous 

    return !aDoubleClickHdl.IsSet() || aDoubleClickHdl.Call(this);

which fixes *this* crash that occurs after the pView->DoubleClickHdl() returned
true. But with false we crash at the end of SvImpLBox::MouseButtonDown() in
aSelEng.SelMouseButtonDown( rMEvt ) because the SvImplBox is already destroyed
(together with the dialog and tabpage) (and aSelEng.GetSelectionMode() returned
a random value not SelectionMode::NONE).

Good night.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180709/c9654e9b/attachment.html>


More information about the Libreoffice-bugs mailing list