[Libreoffice-bugs] [Bug 119266] Styles and Macros nodes don't expand on double click in the Customize dialog
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Aug 14 12:40:09 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=119266
Muhammet Kara <muhammet.kara at pardus.org.tr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
CC| |erack at redhat.com,
| |muhammet.kara at pardus.org.tr
Keywords|bibisectRequest |bibisected, bisected
Ever confirmed|0 |1
--- Comment #3 from Muhammet Kara <muhammet.kara at pardus.org.tr> ---
c9d1655d455ad783694e6d7f0d2e6cf3d0d0acae is the first bad commit
commit c9d1655d455ad783694e6d7f0d2e6cf3d0d0acae
Author: Eike Rathke <erack at redhat.com>
Date: Tue Jul 10 11:13:57 2018 +0200
Resolves: tdf#115950 proper double click return and bail out, tdf#117063
commit b649ce123dea372359ec571135a68eb3de844e5b
CommitDate: Sun Apr 29 08:46:46 2018 +0200
tdf#117063 Modify tree list double click behavior in the navigator
changed the return value in SvTreeListBox::DoubleClickHdl() from
return !aDoubleClickHdl.IsSet() || aDoubleClickHdl.Call(this);
to an unconditional true. Earlier there was
commit 1b9af08481b8f7f4bd15a30508606dff56b8e74f
CommitDate: Tue Mar 13 16:28:40 2018 +0100
tdf#116334: Actually when there is no handler, we have to return
'true'.
- aDoubleClickHdl.Call( this );
- return false;
+ return !aDoubleClickHdl.IsSet() || aDoubleClickHdl.Call(this);
and before that
commit 7651e57573952758032ceb88f16e2dbbb6cc4e18
CommitDate: Thu Mar 1 15:41:13 2018 +0100
tdf#115950: Indicate that the dialog was already destroyed.
- return true;
+ return false;
Neither a constant false or true are correct return values here,
but only the value the double click handler, if any, returned to
indicate whether processing should continue (true) or not (false).
If handlers don't return a proper value so the intended behaviour
for tdf#117063 or anything else does not work then fix the
handlers instead.
If the handler returned false then don't even attempt to access
anything in SvImpLBox::MouseButtonDown() because an OK handler may
have destroyed everything and all is rotten.
Change-Id: Ia90c21288bedd7e5078dbe4b3dd6d9f5199a2a98
Reviewed-on: https://gerrit.libreoffice.org/57225
Tested-by: Jenkins
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Reviewed-by: Eike Rathke <erack at redhat.com>
:040000 040000 4dc4051d6590603a56885b51961440687be2a237
a67e148883822570d42c2a6dc8a89e132cdc8863 M svtools
--
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/20180814/2efe2161/attachment.html>
More information about the Libreoffice-bugs
mailing list