Bug 449779

Summary: Crash when dragging toolbox from left to top docking area
Product: [Applications] krita Reporter: Alvin Wong <alvin>
Component: DockersAssignee: Alvin Wong <alvin>
Status: RESOLVED FIXED    
Severity: crash CC: dimula73
Priority: NOR    
Version: nightly build (please specify the git hash!)   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Attachments: backtrace
backtrace with debug symbols for Qt5Widgets.dll

Description Alvin Wong 2022-02-08 11:40:30 UTC
Created attachment 146433 [details]
backtrace

Tested on 54b694638b, probably triggered by https://invent.kde.org/graphics/krita/-/commit/b4d5ce6af63ee75fd435f3a8a35a8e234d8cd943

Backtrace seems pretty useless, the crash appears to be somewhat internal to Qt.
Comment 1 Dmitry Kazakov 2022-02-18 06:50:27 UTC
I cannot reproduce it here. Though I don't have RTL enabled.
Comment 2 Alvin Wong 2022-02-18 07:41:24 UTC
You may need to repeat it multiple times for it to trigger, but it always happen eventually for me. This is for Windows only though.
Comment 3 Alvin Wong 2022-03-08 05:08:51 UTC
Created attachment 147362 [details]
backtrace with debug symbols for Qt5Widgets.dll
Comment 4 Alvin Wong 2022-03-08 05:16:47 UTC
I was mistaken. This is not a regression and can be reproduced with 5.0.0.
Comment 5 Bug Janitor Service 2022-03-09 07:46:48 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1367
Comment 6 Alvin Wong 2022-03-10 09:59:51 UTC
Git commit 7a2841b5f4beead0a83f335978b7f8c7269266f0 by Alvin Wong.
Committed on 10/03/2022 at 09:59.
Pushed by alvinwong into branch 'master'.

ext_qt: Fix crash when dragging dock widget in some layouts

M  +5    -0    3rdparty/ext_qt/CMakeLists.txt
A  +29   -0    3rdparty/ext_qt/bug449779-Check-for-uninitialized-QDockAreaLayoutInfo.patch

https://invent.kde.org/graphics/krita/commit/7a2841b5f4beead0a83f335978b7f8c7269266f0