<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:m.weghorn@posteo.de" title="Michael Weghorn <m.weghorn@posteo.de>"> <span class="fn">Michael Weghorn</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Alt+Tab Switching Icon Has Low Resolution and Lacks Transparency because _NET_WM_ICON is set to a 48x48 raster image"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=65754">bug 65754</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>NEEDINFO
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Alt+Tab Switching Icon Has Low Resolution and Lacks Transparency because _NET_WM_ICON is set to a 48x48 raster image"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=65754#c15">Comment # 15</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Alt+Tab Switching Icon Has Low Resolution and Lacks Transparency because _NET_WM_ICON is set to a 48x48 raster image"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=65754">bug 65754</a>
              from <span class="vcard"><a class="email" href="mailto:m.weghorn@posteo.de" title="Michael Weghorn <m.weghorn@posteo.de>"> <span class="fn">Michael Weghorn</span></a>
</span></b>
        <pre>I just tried to reproduce on Debian testing running Plasma with the Breeze
theme (plasma-desktop package at version 4:5.14.5.1-1) and am unable to do so
with the kde5 or gtk3 VCL plugins. Current LibreOffice master build used (as of
commit 425a570a114d9a087e5320f071604f64d43fcec1)

[To actually set up the icon-only task switcher, I had to: go to "System
Settings" -> "Task Switcher", click the star icon to open the "Get Hot New
Stuff" system settings module and install the "MediumRoundedDark" windows
switcher; then select "Large Icons".]

What Nate says about those icons being set in
'vcl/unx/generic/window/salframe.cxx' seems correct, **but** this is only
relevant if the gen/x11 VCL plugin is used, which is not really what want to
use anyway if you want a modern UI. :) If I use that VCL plugin (start
LibreOffice with 'SAL_USE_VCLPLUGIN=gen ./instdir/program/soffice --writer', I
can reproduce the issue, s. screenshot in <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=151284" name="attach_151284" title="Screenshot when using gen/x11 VCL plugin">attachment 151284</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=151284&action=edit" title="Screenshot when using gen/x11 VCL plugin">[details]</a></span>.


However, if I use the gtk3 (SAL_USE_VCLPLUGIN=gtk3) or kde5 VCL plugin (default
on KDE Plasma), the icon looks nice, s. <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=151285" name="attach_151285" title="Screenshot when using kde5 VCL plugin">attachment 151285</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=151285&action=edit" title="Screenshot when using kde5 VCL plugin">[details]</a></span>. 
As far as I can see, the icons are set in 'Qt5Frame::setIcon' using
'QWindow::setIcon' and it uses the icon from the icon theme [1], which for the
writer case would be:

    QIcon aIcon = QIcon::fromTheme("libreoffice-writer");

The corresponding icon is located at
'/usr/share/icons/breeze/apps/48/libreoffice-writer.svg'. If I open that icon
using e.g. Inkscape, it looks the same as the icon in the task switcher in my
screenshot. Since it's an SVG icon, there shouldn't be any issues with scaling
etc.

The behaviour is the same as with the attached little sample program (
<span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=151286" name="attach_151286" title="Small sample Qt application that shows the same behaviour">attachment 151286</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=151286&action=edit" title="Small sample Qt application that shows the same behaviour">[details]</a></span> ).


@Nate, or somebody else of those who are affected:
Can you still reproduce this issue with a current master build of LibreOffice
(available at  and co-installable as described at [3])?

If so:

1) Does it also happen with a clean user profile? (shouldn't play any role,
but...)
2) What distro are you using?
3) What Plasma theme?
4) What happens when using the attached sample program (<span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=151286" name="attach_151286" title="Small sample Qt application that shows the same behaviour">attachment 151286</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=151286&action=edit" title="Small sample Qt application that shows the same behaviour">[details]</a></span>)
instead of LibreOffice?
5) Can you attach an strace output?
6) Can you paste the version information from "Help" -> "About LibreOffice"?
7) Any other ideas what could be the reason?



[1]
<a href="https://cgit.freedesktop.org/libreoffice/core/tree/vcl/qt5/Qt5Frame.cxx?id=c1bcdf9aa5d8ea99435906ffa9787232a909ff0f#n309">https://cgit.freedesktop.org/libreoffice/core/tree/vcl/qt5/Qt5Frame.cxx?id=c1bcdf9aa5d8ea99435906ffa9787232a909ff0f#n309</a>
[2] <a href="https://dev-builds.libreoffice.org/daily/master/">https://dev-builds.libreoffice.org/daily/master/</a>
[3] <a href="https://wiki.documentfoundation.org/Installing_in_parallel/Linux">https://wiki.documentfoundation.org/Installing_in_parallel/Linux</a></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>