Bug 508910

Summary: 5.3 Nightly crashes when closing a document
Product: [Applications] krita Reporter: AppTest <xeses16388>
Component: * UnknownAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: penguinflyer2222
Priority: NOR Keywords: regression
Version First Reported In: nightly build (please specify the git hash!)   
Target Milestone: ---   
Platform: Android   
OS: Android 14.x   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description AppTest 2025-08-29 22:52:28 UTC
SUMMARY
5.3 Nightly crashes when closing a document

STEPS TO REPRODUCE
1.  Install 5.3 nightly
2. Start a new drawing
3. Go to File, Close/Close All

OBSERVED RESULT
Krita crashes

EXPECTED RESULT
For the drawing to close without crashing

SOFTWARE/OS VERSIONS
krita-arm64-v8a-5.3.0-prealpha-6df0e740-nightly.apk

(August 29, 2025)

Android 16
Comment 1 Freya Lupen 2025-08-30 00:21:17 UTC
Confirmed.
The new Selection Actions Bar (https://invent.kde.org/graphics/krita/-/merge_requests/2422) crashes in KisSelectionActionsPanel::eventFilter(QObject*, QEvent*) + 52 > (kis_selection_actions_panel.cpp:146) trying to access the canvas while the canvas is being deleted (regardless of the Selections Action Bar being enabled).
Comment 2 Freya Lupen 2025-09-04 00:16:06 UTC
Git commit fca688d07d5f13eec97cdee13d623b3a6c891f02 by Freya Lupen.
Committed on 04/09/2025 at 00:14.
Pushed by freyalupen into branch 'master'.

Fix crash closing doc with selection bar active
Related: bug 509054

M  +4    -5    libs/ui/kis_selection_actions_panel.cpp

https://invent.kde.org/graphics/krita/-/commit/fca688d07d5f13eec97cdee13d623b3a6c891f02