Description: There's a bug when using the "Format" functionality of Find & Replace, switching documents, then trying to use Find & Replace again. For some reason, this causes LibreOffice to crash. Steps to Reproduce: 1) Open two separate documents at once. 2) Open the Find & Replace dialog (Ctrl + H) in either document 3) In the F&R dialog, click "Format." In the Format dialog, set the "Style" field to "italic" and click Okay. The word "Italic" should appear under the "Find" field. 4) Close the dialog. 5) Close the document, and focus the other document. 6) Attempt to open the Find & Replace dialog again. Actual Results: The program should crash if these steps are followed. Expected Results: Very simply, this should not cause a crash. Reproducible: Always User Profile Reset: Yes Additional Info: To prevent the crash: 3) Style" field to "italic" and click Okay. 3.1) Click the "No Format" button first, and then close the dialog. 4) Upon closing the document and opening the dialog again, the program should not crash.
Repro in master. Was file in 7.0.
I can't reproduce it in Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 7a7ba9cbee91485a9254949d1594352b3629c070 CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: x11 Locale: es-ES (es_ES.UTF-8); UI: en-US Calc: threaded
Regression after commit 2984dd49fb9fb2f8d3d56fba0db34a7b95666ce1.
I confirm that it's not reproducible using Version: 24.8.1.2 (X86_64) / LibreOffice Community Build ID: 480(Build:2) CPU threads: 24; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-US (C.UTF-8); UI: en-US Ubuntu package version: 4:24.8.1-0ubuntu0.22.04.1~lo1 Calc: threaded Also no repro using Version: 24.8.1.2 (X86_64) / LibreOffice Community Build ID: 480(Build:2) CPU threads: 24; OS: Linux 5.15; UI render: default; VCL: x11 Locale: en-US (C.UTF-8); UI: en-US Ubuntu package version: 4:24.8.1-0ubuntu0.22.04.1~lo1 Calc: threaded But repro using Version: 24.8.3.2 (X86_64) / LibreOffice Community Build ID: 48a6bac9e7e268aeb4c3483fcf825c94556d9f92 CPU threads: 24; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Vulkan; VCL: win Locale: ru-RU (ru_RU); UI: en-US Calc: CL threaded So => Windows only.