<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:glogow@fbihome.de" title="Jan-Marek Glogowski <glogow@fbihome.de>"> <span class="fn">Jan-Marek Glogowski</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - Unable to copy/paste images from native QT applications on Wayland"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=142889">bug 142889</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>NOTOURBUG
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - Unable to copy/paste images from native QT applications on Wayland"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=142889#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - Unable to copy/paste images from native QT applications on Wayland"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=142889">bug 142889</a>
              from <span class="vcard"><a class="email" href="mailto:glogow@fbihome.de" title="Jan-Marek Glogowski <glogow@fbihome.de>"> <span class="fn">Jan-Marek Glogowski</span></a>
</span></b>
        <pre>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: <a href="https://bugs.kde.org/show_bug.cgi?id=436956">https://bugs.kde.org/show_bug.cgi?id=436956</a>, so
I'll report there first.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>