Description: In Calc, when creating an autofilter (Data -> Autofilter) for a list with dates, if clicked the lock button, and then click OĞš button, the application crashes. However, the lock button works correctly with regular text or numbers. This crash is only reproduced when using dates. Steps to Reproduce: 1. Open Calc. 2. Enter dates into the cells (e.g., 05.02.2000, 01.10.1999, etc.). 3. Select the list with dates. 4. Enable the AutoFilter (Data -> AutoFilter). 5. Expand the AutoFilter, press "Lock" and then press "OK". Actual Results: The application crashes. Expected Results: The autofilter is closing. The application works. Reproducible: Always User Profile Reset: No Additional Info: At least repro on: Version: 24.8.3.1 (X86_64) / LibreOffice Community Build ID: 65412f067af443213e726c93f137ccc85c9a1e06 CPU threads: 16; OS: Linux 6.6; UI render: default; VCL: kf5 (cairo+xcb) Locale: ru-RU (ru_RU.UTF-8); UI: en-US Calc: threaded Still repro on: Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 76d85a1364ce333d62be7e16665e2cf9f70ec024 CPU threads: 12; OS: Linux 6.12; UI render: default; VCL: kf5 (cairo+xcb) Locale: ru-RU (ru_RU.UTF-8); UI: en-US Calc: CL threaded
Created attachment 204171 [details] AutoFilter crashes with dates
No repro on Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 620(Build:0) CPU threads: 32; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded
We tested it on Win 10 with LO 25.8, the issue really doesn't reproduce. We also tried a few more tests on Linux, and it seems the behavior depends on the VCL plugin. The issue occurs at least with kf5, kf6, and gtk3, but doesn't occur with gen (x11). Until we have tests on Mac, it's probably not worth labeling the issue as Linux-specific. Judging by the gtk3 logs (specifically, "gtk_tree_store_iter_children: assertion 'VALID_ITER (parent, tree_store)' failed"), it's possible that some VCL plugins are causing issues with tree processing. We were able to reproduce the issue on Arch Linux with: Version: 25.8.3.2 (X86_64) / LibreOffice Community Build ID: 580(Build:2) CPU threads: 16; OS: Linux 6.17; UI render: default; VCL: kf6 (cairo+wayland) Locale: ru-RU (ru_RU.UTF-8); UI: ru-RU 25.8.3-2 Calc: threaded
*** This bug has been marked as a duplicate of bug 167395 ***