| Summary: | Converting a Paint layer to Selection layer either freezes or crashes Krita | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | rodeostanprojects |
| Component: | Tools/Selection | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | dimula73 |
| Priority: | NOR | Keywords: | regression, release_blocker |
| Version First Reported In: | 5.2.16 | ||
| Target Milestone: | --- | ||
| Platform: | Appimage | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/graphics/krita/-/commit/c7bfb6316fac34856b2b0576810bbebde404fde8 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: |
full report from "submit bug report"
File_SelectionMask_bug.kra WorkAround_SelectionBug.mp4 ReplicatedBug_SelectionMask.mp4 |
||
|
Description
rodeostanprojects
2026-02-27 08:58:29 UTC
Hi, rodeostanprojects! Could you please share the failing file with me somehow? If it should be kept private, you could send it to my email... And a video recording of the issue would be helpful, because I cannot reproduce the issue here, however hard I try :( Created attachment 190174 [details] File_SelectionMask_bug.kra Good evening, Mr. Kazakov! As requested, there should be the .kra file (File_SelectionMask_bug.kra) attached as well as the video(ReplicatedBug_SelectionMask.mp4) replicating the issue, although it occurs regardless of the file used; i even replicated this on one of my older drawings in addition, i've also discovered a solution to this, where one creates a new layer above the old layer, and converting the new one, as seen in another video (Workaround_Selection.mp4). Final addendum: attempting to cancel the conversion process (update-overlay-selection-mask) only results in the same process restarting. i cannot leave the application either, as it is busy with this very same process, therefore resulting in a loop that is only stopped by forcefully quitting the application through the task manager On Fri, Feb 27, 2026 at 5:43 PM Dmitry Kazakov <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=516787 > > Dmitry Kazakov <dimula73@gmail.com> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > Resolution|--- |WAITINGFORINFO > Status|REPORTED |NEEDSINFO > CC| |dimula73@gmail.com > > --- Comment #1 from Dmitry Kazakov <dimula73@gmail.com> --- > Hi, rodeostanprojects! > > Could you please share the failing file with me somehow? If it should be > kept > private, you could send it to my email... > > And a video recording of the issue would be helpful, because I cannot > reproduce > the issue here, however hard I try :( > > -- > You are receiving this mail because: > You reported the bug. Created attachment 190175 [details]
WorkAround_SelectionBug.mp4
Created attachment 190176 [details]
ReplicatedBug_SelectionMask.mp4
🐛🧹 Thanks for your comment! Automatically switching the status to REPORTED so the team can perform further triage. In the future you may also do this yourself when providing needed information. Thanks for the video! I can reproduce the issue now! :) Git commit bee001fd20ef2de225cc25010d1f5541ed936de1 by Dmitry Kazakov. Committed on 03/03/2026 at 09:56. Pushed by dkazakov into branch 'master'. Fix a crash when converting the only layer of the group into a selection mask We should link masks to the parent node, not to parent node's original, since original can change due to the some obscure mecanisms, like oblige child one in the group layers. M +73 -32 libs/image/kis_default_bounds.cpp M +64 -5 libs/image/kis_default_bounds.h M +6 -6 libs/image/kis_mask.cc M +1 -1 libs/image/tests/kis_image_test.cpp https://invent.kde.org/graphics/krita/-/commit/bee001fd20ef2de225cc25010d1f5541ed936de1 Git commit c7bfb6316fac34856b2b0576810bbebde404fde8 by Dmitry Kazakov. Committed on 10/03/2026 at 14:42. Pushed by dkazakov into branch 'krita/6.0'. Fix a crash when converting the only layer of the group into a selection mask We should link masks to the parent node, not to parent node's original, since original can change due to the some obscure mecanisms, like oblige child one in the group layers. M +73 -32 libs/image/kis_default_bounds.cpp M +64 -5 libs/image/kis_default_bounds.h M +6 -6 libs/image/kis_mask.cc M +1 -1 libs/image/tests/kis_image_test.cpp https://invent.kde.org/graphics/krita/-/commit/c7bfb6316fac34856b2b0576810bbebde404fde8 |