[Libreoffice-bugs] [Bug 142889] Unable to copy/paste images from native QT applications on Wayland

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Aug 27 02:08:51 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=142889

Jan-Marek Glogowski <glogow at fbihome.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTOURBUG

--- Comment #2 from Jan-Marek Glogowski <glogow at fbihome.de> ---
So Debian Bullseye is out, I just updated my Buster and now tried to repo some
Wayland LO bugs. I used Spectacle and simply copied the screenshot into
clipboard.

$ wl-paste -l
application/x-qt-image
x-kde-force-image-copy
image/png
image/avif
image/bmp
...
[many more]

On paste LO requests "image/png" (I didn't look into the code why; probably
because it's the first image).

$ wl-paste -t image/png >/tmp/unknown.data

$ hexdump -C /tmp/unknown.data | head -n 1
00000000  42 4d 36 ec 5e 00 00 00  00 00 36 00 00 00 28 00  |BM6.^.....6...(.|

The clipboard delivers "image/bmp" instead :-(

While it's a KDE desktop, also the gtk3 VCL can't paste that image, because LO
tries to decode the clipboard data with the PNG reader and fails.

KDE bug tracker already has: https://bugs.kde.org/show_bug.cgi?id=436956, so
I'll report there first.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210827/58c9c5c0/attachment.htm>


More information about the Libreoffice-bugs mailing list