<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - EDITING: Crash while selecting cell format with double-click"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=115950#c13">Comment # 13</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - EDITING: Crash while selecting cell format with double-click"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=115950">bug 115950</a>
from <span class="vcard"><a class="email" href="mailto:erack@redhat.com" title="Eike Rathke <erack@redhat.com>"> <span class="fn">Eike Rathke</span></a>
</span></b>
<pre>So the root cause seems to be the unconditional return true in
SvTreeListBox::DoubleClickHdl() introduced with
<a href="http://cgit.freedesktop.org/libreoffice/core/commit/?id=b649ce123dea372359ec571135a68eb3de844e5b">http://cgit.freedesktop.org/libreoffice/core/commit/?id=b649ce123dea372359ec571135a68eb3de844e5b</a>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>