Summary: | Crash when creating new image from selected region (clipboard) | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | sander.smid |
Component: | General | Assignee: | amyspark <amy> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | halla |
Priority: | NOR | Keywords: | drkonqi |
Version: | 5.1.3 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Bug Depends on: | |||
Bug Blocks: | 465128 |
Description
sander.smid
2022-11-18 18:48:15 UTC
https://bugs.kde.org/show_bug.cgi?id=459800 seems related -- I'll ask the author of the commit that closed that issue to look into this. The appimage has the kis_asserts compiled out, which is better for production builds, btw. Halla, this is the ever elusive "clipboard is being cleared mid document creation" bug. The backtrace shows the reporter is in a Catch-22 position: it's claiming that they've initiated a paste from clipboard, but the clipboard is empty by the time we access it. The safe assert that I added back then should have detected and ignored the situation, but it's not, and that's why I added the hard assertion that this bug hits on. @sander.smid: are you closing the original document between copying and pasting? Do you have any other application active when the issue occurs? To the reporter: I need to pin down what's clearing the clipboard mid-copy. Please ping back with the information requested. Git commit 6399b0203e7c7e8fa6fc40e4fdbe4a72cae2f304 by L. E. Segovia. Committed on 22/12/2022 at 20:24. Pushed by lsegovia into branch 'master'. KisImageFromClipboardWidget: stave off a clipboard being cleared mid-access M +10 -6 libs/ui/widgets/kis_image_from_clipboard_widget.cpp https://invent.kde.org/graphics/krita/commit/6399b0203e7c7e8fa6fc40e4fdbe4a72cae2f304 Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! Git commit dcd6535736ba797f889b8b80f43f9f25d38abab6 by L. E. Segovia. Committed on 01/02/2023 at 20:47. Pushed by lsegovia into branch 'krita/5.1'. KisImageFromClipboardWidget: stave off a clipboard being cleared mid-access Related: bug 465128 (cherry picked from commit 6399b0203e7c7e8fa6fc40e4fdbe4a72cae2f304) M +10 -6 libs/ui/widgets/kis_image_from_clipboard_widget.cpp https://invent.kde.org/graphics/krita/commit/dcd6535736ba797f889b8b80f43f9f25d38abab6 Git commit f4f069cbea3dd961aed23e3abbc67460821b2da9 by L. E. Segovia. Committed on 21/04/2023 at 00:40. Pushed by lsegovia into branch 'master'. KisClipboard: remove assert on clipboard being cleared 6399b0203e7c7e8fa6fc40e4fdbe4a72cae2f304 already covers it enough, so it's safe to bail out now. Related: bug 468494, bug 465128 M +5 -1 libs/ui/kis_clipboard.cc https://invent.kde.org/graphics/krita/commit/f4f069cbea3dd961aed23e3abbc67460821b2da9 Git commit f4f069cbea3dd961aed23e3abbc67460821b2da9 by L. E. Segovia. Committed on 21/04/2023 at 00:40. Pushed by lsegovia into branch 'master'. KisClipboard: remove assert on clipboard being cleared 6399b0203e7c7e8fa6fc40e4fdbe4a72cae2f304 already covers it enough, so it's safe to bail out now. Related: bug 468494, bug 465128 M +5 -1 libs/ui/kis_clipboard.cc https://invent.kde.org/graphics/krita/commit/f4f069cbea3dd961aed23e3abbc67460821b2da9 Git commit d833fcb31161fbaedd738381613960daf9ac5fb7 by L. E. Segovia. Committed on 21/04/2023 at 00:40. Pushed by lsegovia into branch 'krita/5.1'. KisClipboard: remove assert on clipboard being cleared 6399b0203e7c7e8fa6fc40e4fdbe4a72cae2f304 already covers it enough, so it's safe to bail out now. Related: bug 468494, bug 465128 (cherry picked from commit f4f069cbea3dd961aed23e3abbc67460821b2da9) M +5 -1 libs/ui/kis_clipboard.cc https://invent.kde.org/graphics/krita/commit/d833fcb31161fbaedd738381613960daf9ac5fb7 Git commit d833fcb31161fbaedd738381613960daf9ac5fb7 by L. E. Segovia. Committed on 21/04/2023 at 00:40. Pushed by lsegovia into branch 'krita/5.1'. KisClipboard: remove assert on clipboard being cleared 6399b0203e7c7e8fa6fc40e4fdbe4a72cae2f304 already covers it enough, so it's safe to bail out now. Related: bug 468494, bug 465128 (cherry picked from commit f4f069cbea3dd961aed23e3abbc67460821b2da9) M +5 -1 libs/ui/kis_clipboard.cc https://invent.kde.org/graphics/krita/commit/d833fcb31161fbaedd738381613960daf9ac5fb7 |