Created attachment 180759 [details] A test case to trigger the folder comparison crash. SUMMARY When I compare two directories from the explorer extension or command line, then open any file, kdiff3 crashes. STEPS TO REPRODUCE 1. Download and install https://cdn.kde.org/ci-builds/sdk/kdiff3/master/windows/kdiff3-master-1962-windows-cl-msvc2022-x86_64.exe. 2. In Windows Explorer, select two folders, right-click, and pick KDiff3 > Compare. 3. In KDiff3, double-click any file (identical, different, or missing in one folder). OBSERVED RESULT kdiff3 crashes. EXPECTED RESULT no crash. SOFTWARE/OS VERSIONS Windows: 11 Version 24H2 ADDITIONAL INFORMATION The crash does not happen if I launch kdiff3 fully, then select two folders in the open directory, then click OK. On Linux KDiff3 1.12.2, the crash does not happen. I have not tested nightly builds on Linux.
Resloved https://bugs.kde.org/show_bug.cgi?id=503473. Now seeing if I can repo the crash.
Doesn't repo on 1.12.2 for me. Likely the result of a change in master.
Turns out that while this only happens on master on master it could also affect 1.12. Basically Qt is triggering resize events at an unexpected time
Git commit 3b93c36b2718cac9e33f6542e2c0119fecf19e46 by Michael Reeves. Committed on 09/05/2025 at 15:53. Pushed by mreeves into branch '1.12'. Fix crash on early re-size events Triggered on Windows 11, Qt 6.8.x No way to control what qt is doing so work arround the issue. FIXED-IN:1.12.3 M +3 -0 src/difftextwindow.cpp https://invent.kde.org/sdk/kdiff3/-/commit/3b93c36b2718cac9e33f6542e2c0119fecf19e46
Git commit c72d62f779de47663a07173bbdcb0dc4c0b1baa3 by Michael Reeves. Committed on 09/05/2025 at 15:55. Pushed by mreeves into branch 'master'. Fix crash on early re-size events Triggered on Windows 11, Qt 6.8.x No way to control what qt is doing so work arround the issue. FIXED-IN:1.12.3 M +4 -0 src/difftextwindow.cpp https://invent.kde.org/sdk/kdiff3/-/commit/c72d62f779de47663a07173bbdcb0dc4c0b1baa3