[Libreoffice-bugs] [Bug 65754] Alt+Tab Switching Icon Has Low Resolution and Lacks Transparency because _NET_WM_ICON is set to a 48x48 raster image

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri May 10 06:34:22 UTC 2019


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

Michael Weghorn <m.weghorn at posteo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #15 from Michael Weghorn <m.weghorn at posteo.de> ---
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 attachment 151284.


However, if I use the gtk3 (SAL_USE_VCLPLUGIN=gtk3) or kde5 VCL plugin (default
on KDE Plasma), the icon looks nice, s. attachment 151285. 
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 (
attachment 151286 ).


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

-- 
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/20190510/9495bfa9/attachment-0001.html>


More information about the Libreoffice-bugs mailing list