Summary: | Crash when pasting content from clipboard after reopening Krita | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | aivanjou84 |
Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | penguinflyer2222 |
Priority: | NOR | ||
Version: | 5.2.3 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://invent.kde.org/graphics/krita/-/commit/ad17230749bc1e73a9365f9c2939445f91718971 | Version Fixed In: | |
Sentry Crash Report: |
Description
aivanjou84
2024-08-13 13:08:47 UTC
Confirmed on 5.2.3. On 5.3.x it safe asserts and pastes an empty layer instead, because of commit 8ae307a9. The reason it can't paste a layer from a previous run is because it doesn't store the layer data itself, but a pointer to it, which is no longer valid when Krita is closed. Git commit ad17230749bc1e73a9365f9c2939445f91718971 by Halla Rempt, on behalf of Simon Ra. Committed on 03/09/2024 at 12:22. Pushed by rempt into branch 'krita/5.2'. fix an assert that should have been a safe assert. This is hit when pasting data from a previous session of krita (after restarting it) because the layer data itself is not on the clipboard. (cherry picked from commit 8ae307a9d8dfebb039742089dcb5680e182df2f6) M +1 -1 libs/ui/kis_clipboard.cc https://invent.kde.org/graphics/krita/-/commit/ad17230749bc1e73a9365f9c2939445f91718971 |