https://bugs.kde.org/show_bug.cgi?id=388182

--- Comment #24 from Vlad Zagorodniy <vladz...@gmail.com> ---
Git commit 67444e36592e78d46b757a6c72be1d50bdae19e6 by Vlad Zagorodniy.
Committed on 27/05/2019 at 14:30.
Pushed by vladz into branch 'Plasma/5.12'.

[effects/screenshot] Upload data to xpixmap in chunks

Summary:
xcb_put_image doesn't handle big images well. Contrary to XPutImage, the
caller must manually split the data in such a way that each xcb_put_image
request doesn't exceed the maximum request length. Not doing so will result
in libxcb shutting down the connection.
Related: bug 338489

Test Plan: Take a screenshot of an active fullscreen client on a 4K monitor.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: davidedmundson, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D21370

M  +70   -10   effects/screenshot/screenshot.cpp

https://commits.kde.org/kwin/67444e36592e78d46b757a6c72be1d50bdae19e6

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to