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

Noah Davis <noaha...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|REOPENED                    |RESOLVED

--- Comment #8 from Noah Davis <noaha...@gmail.com> ---
(In reply to Henning from comment #7)
> So the problem is on KDE the extension is png but the mimetype something else

The mimetype is application/x-qt-image (basically represents a QImage), which
is expected when using QMimeData::setImageData() to send images to the
clipboard (the usual way to send images to the clipboard). When you actually
paste the image, the usual data format you get is PNG, probably because it's a
lossless format that the original data can be easily converted to.

application/x-kde-onlyReplaceEmpty is not actually part of the image's mime
data, it's an extra bit of data sent along with the other data when you have
the option to prevent the clipboard from becoming empty enabled. This behavior
is defined in Klipper, not Spectacle:
https://invent.kde.org/plasma/plasma-workspace/-/blob/master/klipper/klipper.cpp#L818

The reason I closed this bug report was because there are 2 unrelated reports
here. You can't go back and edit a bug report message on bugzilla and it would
be best if a new bug report was created instead of using one bug report for 2
unrelated bugs. There doesn't seem to actually be a bug in Spectacle though, so
I'm marking this as fixed since the original reported bug was fixed. Please
make a new bug report if you still have a problem.

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

Reply via email to