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

mixzt <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from mixzt <[email protected]> ---
I am experiencing similar issue on EndeavourOS KDE 6.5.2, AMD GPU, 125%
fractional scaling. However the case seems a bit different: if copying
screenshot to clipboard fails, other apps like Flameshot are not affected.
Screenshots fail to copy to clipboard 95% of the time when I try to screenshot
my desktop (all apps minimized). Small regions work most of the time.

Brief testing with wl-copy --list showed that Spectacle actually successfully
copied the image to clipboard, but something replaced all MIME types with
application/x-kde-onlyReplaceEmpty in about 0.5 seconds, leaving the clipboard
empty. 

I couldn't find a fix but found a workaround: instead of letting Spectacle copy
to the clipboard, I save the screenshot to a temporary PNG file and copy it
manually with wl-copy. This completely avoids the issue:

#!/bin/bash
spectacle -r -b -o /tmp/screenshot.png
wl-copy --type image/png < /tmp/screenshot.png

I bound this script to Meta+Shift+S.
This way, clipboard image pasting works reliably in all applications.

I also experienced slight lags after taking big screenshots, and this was
solved by switching clipboard manager to CopyQ.

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

Reply via email to