Summary: | Krita hangs after copying pixels, then pasting into other application | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | rebuilderster |
Component: | General | Assignee: | Dmitry Kazakov <dimula73> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | halla |
Priority: | NOR | Keywords: | triaged |
Version: | 5.1.0 | ||
Target Milestone: | --- | ||
Platform: | Appimage | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/1d9698635a0f8289263bcb057727bf69cb48e8fa | Version Fixed In: | |
Sentry Crash Report: |
Description
rebuilderster
2022-09-08 18:09:35 UTC
Further info: This only seems to happen when copying from the Background layer. If doing a copy merged when other layers are in the layer stack, or copying from some other layer than background, the bug does not occur. I don't have Mint to test with. This works fine on my Plasma desktop, though. Git commit aac9375843b3018564cea285b91f82c7f3b9fda2 by Dmitry Kazakov. Committed on 16/09/2022 at 11:07. Pushed by dkazakov into branch 'master'. Fix a crash when trying to copy-paste the background layer Such layers usually have non-transparent default pixel, which automatically needs an image for exact bounds calculation, which doesn't exist for the detached layers. The patch saves the copied area bounds on the construction of mime data, much before the layers become detached. Related: bug 458857, bug 458248, bug 458941 M +12 -11 libs/ui/kis_mimedata.cpp M +2 -0 libs/ui/kis_mimedata.h https://invent.kde.org/graphics/krita/commit/aac9375843b3018564cea285b91f82c7f3b9fda2 Git commit 1d9698635a0f8289263bcb057727bf69cb48e8fa by Dmitry Kazakov. Committed on 16/09/2022 at 11:09. Pushed by dkazakov into branch 'krita/5.1'. Fix a crash when trying to copy-paste the background layer Such layers usually have non-transparent default pixel, which automatically needs an image for exact bounds calculation, which doesn't exist for the detached layers. The patch saves the copied area bounds on the construction of mime data, much before the layers become detached. Related: bug 458857, bug 458248, bug 458941 (cherry picked from commit aac9375843b3018564cea285b91f82c7f3b9fda2) M +12 -11 libs/ui/kis_mimedata.cpp M +2 -0 libs/ui/kis_mimedata.h https://invent.kde.org/graphics/krita/commit/1d9698635a0f8289263bcb057727bf69cb48e8fa |