[Libreoffice-bugs] [Bug 125934] New: No application icon on Wayland with the kde5 backend
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat Jun 15 09:28:36 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=125934
Bug ID: 125934
Summary: No application icon on Wayland with the kde5 backend
Product: LibreOffice
Version: Inherited From OOo
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: graphics stack
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: glogow at fbihome.de
Description:
In Wayland the application icon is loaded from the desktop file by the
compositor. Therefore Qt has an API call to set the desktop file for the
application, which correctly sets the appId on Wayland:
QGuiApplication::setDesktopFileName
But this still leaves us with just a single icon. There is a Wayland API to set
a surfaces appId via the XDG shell protocol: set_app_id. This is - AFAIK - the
same call that is used by setDesktopFileName, but it can be used per Wayland
surface and isn't restricted to the global QGuiApplication. A XDG surface
normally maps to a top level window or a popup. And Michael tested that
changing the setDesktopFileName also changes the icon for the next created
window.
I'm told that appId is supposed to be fixed like the WM_CLASS, but just like
the latter, it's currently not enforced. So changing appId works and the icon
of the window changes, but currently has side effects, like crashes in
"kwin_wayland --xwayland" on shutdown. It works fine with Weston 5.0.0-3 on
Debian Buster.
Steps to Reproduce:
1. Start LO on Wayland with the kde5 backend
Actual Results:
The task manager and the window decorations show the default Wayland icon.
Expected Results:
The task manager and the window decorations show the document / module specific
LO icon.
Reproducible: Always
User Profile Reset: No
Additional Info:
--
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/20190615/7ca71570/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list