Bug 516593 - Crash when pasting image from gwenview on wayland
Summary: Crash when pasting image from gwenview on wayland
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: * Unknown (other bugs)
Version First Reported In: 6.0.0-beta2
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-23 15:31 UTC by zxc69610
Modified: 2026-03-09 10:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
backtrace of the crash (2.98 KB, text/plain)
2026-02-23 15:31 UTC, zxc69610
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zxc69610 2026-02-23 15:31:40 UTC
Created attachment 190006 [details]
backtrace of the crash

STEPS TO REPRODUCE
1. open an image in gwenview (I used version 25.12.2), copy it with right click -> copy
2. open krita with --platform wayland
3. press ctrl+v and click any dialogue option including "cancel"

OBSERVED RESULT
krita crashes

EXPECTED RESULT
image is pasted into the canvas

KDE Plasma Version: 6.6.0
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.2

ADDITIONAL INFORMATION
This doesn't happen when pasting from things other than gwenview, which would mean it's likely that gwenview is doing something wrong and krita (or the relevant libraries) is not handling the error correctly. It's also definitely wayland specific, and doesn't happen without --platform wayland.