Bug 426914 - Crash when dragging global selection mask onto another layer
Summary: Crash when dragging global selection mask onto another layer
Status: RESOLVED DUPLICATE of bug 426816
Alias: None
Product: krita
Classification: Applications
Component: Tools/Selection (show other bugs)
Version: 4.4.0-beta1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2020-09-23 20:44 UTC by Anna Medonosova
Modified: 2020-09-24 16:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
backtrace of the crash (15.14 KB, text/plain)
2020-09-23 20:44 UTC, Anna Medonosova
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anna Medonosova 2020-09-23 20:44:29 UTC
Created attachment 131890 [details]
backtrace of the crash

SUMMARY
When the global selection mask is dragged onto another layer in the Layers docker, Krita crashes. In 4.3, the same action converted the global selection into a local selection for the target layer.

STEPS TO REPRODUCE
1. Check "Show global selection mask" in the Select menu.
2. Make a selection.
3. In the Layers docker, drag the global selection mask onto another layer.

OBSERVED RESULT
Segfault.

EXPECTED RESULT
The global selection is converted into local selection mask.
Comment 1 Ahab Greybeard 2020-09-24 15:45:58 UTC
I can confirm this for the Sep23 4.4.1 alpha (git 604b2ce) appimage.
No crash with the 4.3.0 appimage, as noted above.

If the global selection mask is deactivated (circle icon at the right of the layer) before being dragged onto a  layer, it can be placed on that layer and then becomes a local selection mask that can then be activated with no problem.

Note the similarity to https://bugs.kde.org/show_bug.cgi?id=426816
which has recently had a commit to fix.
Comment 2 Dmitry Kazakov 2020-09-24 16:08:46 UTC

*** This bug has been marked as a duplicate of bug 426816 ***