| Summary: | Gimp crashes and closes when I copy a big image and past it in another software (like LibreOffice) | ||
|---|---|---|---|
| Product: | [Unmaintained] klipper | Reporter: | toni_rocha <antonioni.rocha> |
| Component: | plasma-widget | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | normal | CC: | nate |
| Priority: | NOR | ||
| Version First Reported In: | 5.20.2 | ||
| Target Milestone: | --- | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
toni_rocha
2020-07-21 01:29:10 UTC
KWindowSystem is not involved in the process of copy/pasting images. It sounds to me like GIMP exceeds the maximum X11 request size limit. However, if GIMP uses Xlib, then the image data should be chopped into multiple chunks behinds the scenes. We had a similar bug in the screenshot service in kwin long time ago. The root cause of the bug was that libxcb doesn't split big images in chunks, the caller must do it manually. Another test: when I copy the big image from the link "https://i.imgur.com/1ADl4cs.png" using Firefox and I paste it into LibreOffice Writer, it doesn't crash, but the image isn't pasted. The curious is: if I use Google Chrome, for example, when the image in the same link "https://i.imgur.com/1ADl4cs.png" is copied and pasted into LibreOffice Writer, it works fine with no problem. I change the product to Klipper, It looks like a clipboard problem. As Vlad says, this is a problem either in GIMP, or XLib, or libxcb. |