Bug 449779 - Crash when dragging toolbox from left to top docking area
Summary: Crash when dragging toolbox from left to top docking area
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Dockers (show other bugs)
Version: nightly build (please specify the git hash!)
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Alvin Wong
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-08 11:40 UTC by Alvin Wong
Modified: 2022-03-10 09:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
backtrace (4.33 KB, text/plain)
2022-02-08 11:40 UTC, Alvin Wong
Details
backtrace with debug symbols for Qt5Widgets.dll (5.68 KB, text/plain)
2022-03-08 05:08 UTC, Alvin Wong
Details

Note You need to log in before you can comment on or make changes to this bug.
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