Step to reproduce: 1. Open attachment 173241 [details] from bug 142965 2. Open the autofilter in A1 3. Press any arrow key -> Crash reproduced in Version: 7.3.0.0.beta1+ / LibreOffice Community Build ID: 81b26582ed62db40e2be701ddefede7d8230d0d2 CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded
Regression introduced by: https://cgit.freedesktop.org/libreoffice/core/commit/?id=2acdb3e617658ca19de26e8928e42b4955622feb author Caolán McNamara <caolanm@redhat.com> 2021-11-19 11:38:58 +0000 committer Caolán McNamara <caolanm@redhat.com> 2021-11-23 17:36:13 +0100 commit 2acdb3e617658ca19de26e8928e42b4955622feb (patch) tree f543f678b1b72a7a9cff80b5dbed301cd21fbbaf parent f5137ed5453661d21e85ecb94a08cfccae899ca1 (diff) tdf#139460 improve autofilter sub-menu interaction under gtk Bisected with: bibisect-linux64-7.3 Adding Cc: to Caolán McNamara
I can't reproduce this yet, but the title says (gen) and the comment #1 says VCL: gtk3. Was it gen or gtk that crashes (though I tried both)? If I click in A1 and the autofilter appears, I expect the focus to be in the entry, i.e. the blinking cursor is active in the entry in the middle of the dropdown, is that the case for you too? Though I've also tried moving the focus to the treeview above it without any crash on pressing arrows there either. I am checking with a later version which had some follow up fixes, but not ones I'd expect to have an effect of key handling, but I can recheck with the exact mentioned commit.
nothing seen on the exact commit id mentioned either unfortunately
yep, it's only reproducible with GEN, not with GTK3, the information ins the description is wrong. also reproducible in Version: 7.4.0.0.alpha0+ / LibreOffice Community Build ID: 6a2352ca8abbdcd6a6376144e6dd185ffeaef5d0 CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: x11 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded
(In reply to Caolán McNamara from comment #2) > I can't reproduce this yet, but the title says (gen) and the comment #1 says > VCL: gtk3. Was it gen or gtk that crashes (though I tried both)? > > If I click in A1 and the autofilter appears, I expect the focus to be in the > entry, i.e. the blinking cursor is active in the entry in the middle of the > dropdown, is that the case for you too? The cursor is in the Search item textbox
Created attachment 176590 [details] screencast
baffling, I dont see anything under valgrind either. Can I get a backtrace?
Hi Caolán, I found the reason why it crashes for me and not for you. it only crashes when using LO_COLLECT_UIINFO, like LO_COLLECT_UIINFO="test.log" SAL_USE_VCLPLUGIN=gen instdir/program/soffice
ah, very good, now I can reproduce. I was wondering what could be happening.
I imagine not crashing is "good enough"
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/327f2c85beb2c90d2ccdedbffe57c0831ebf16d6 tdf#145952 don't crash with LO_COLLECT_UIINFO set in autofilter It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
no crash in trunk now, backport to 7-4 in gerrit
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-7-3": https://git.libreoffice.org/core/commit/e8b16dad8a54e1d213fae59e9fdc557c478aa0ef tdf#145952 don't crash with LO_COLLECT_UIINFO set in autofilter It will be available in 7.3.0.0.beta2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.