Bug 461449

Summary: Copy Pasting Multiple Selection masks leads to crash
Product: [Applications] krita Reporter: kousakiaya
Component: Tools/SelectionAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: griffinvalley
Priority: NOR    
Version First Reported In: 5.1.1   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description kousakiaya 2022-11-05 11:11:21 UTC
SUMMARY
Copy Pasting Multiple Selection masks leads to crash


STEPS TO REPRODUCE
1. Create Multiple selection masks on the same layer
2. Select all the selection masks
3. Copy them via ctrl+c or right-click menu (holding ctrl then dragging does not cause a crash)
4. If Copying them did not cause a crash, select any layer and paste them into that layer will create a crash

OBSERVED RESULT
Crash

EXPECTED RESULT
Selection masks get copied normally, without any crash, just like using ctrl-dragging.

SOFTWARE/OS VERSIONS
Windows: Win10
Comment 1 wolthera 2023-01-12 13:06:07 UTC
Hi, thank you for your report.

I can confirm with the Krita Version: 5.2.0-prealpha (git 5c98a72) Appimage with Qt 5.15.7.

Is this still happening on Krita 5.1.5?
Comment 2 kousakiaya 2023-01-13 03:59:17 UTC
All went well on my windows 10 Krita 5.15. : D
No crash after several try.
Comment 3 Bug Janitor Service 2023-01-13 05:15:10 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.
Comment 4 wolthera 2023-01-13 13:22:01 UTC
Alright, thanks for getting back to us!