[LyX/master] Transform simple search dialog to dock widget (#2625)

Stephan Witt st.witt at gmx.net
Sun Feb 14 17:45:06 UTC 2021


Am 14.02.2021 um 18:39 schrieb Stephan Witt <st.witt at gmx.net>:
> 
> Am 14.02.2021 um 17:15 schrieb Juergen Spitzmueller <spitz at lyx.org>:
>> 
>> commit 2baa3a46a6ad3576fc94fa0b915adc30ba2bbdff
>> Author: Juergen Spitzmueller <spitz at lyx.org>
>> Date:   Sun Feb 14 17:18:00 2021 +0100
>> 
>>   Transform simple search dialog to dock widget (#2625)
>> 
>>   Also solves #8054
> 
> Hi Jürgen,
> 
> after this change LyX gets a crash on processing Command-F here.

The crash is in GuiSearchWidget::findChanged because of bv_ is not initialized and not a nullptr.

> I’ve learned the reason here:
> 
> https://arne-mertz.de/2015/08/new-c-features-default-initializers-for-member-variables/
> 
> So the attached patch helps. I’d like to apply it.
> 
> Stephan
> 
> <GuiSearch-member-variable-init.patch>



More information about the lyx-devel mailing list