[Libreoffice-bugs] [Bug 125934] 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:44:17 UTC 2019


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

--- Comment #2 from Jan-Marek Glogowski <glogow at fbihome.de> ---
>From the QtWayland source:

dist/changes-5.7.0:- Set appId according to QGuiApplication::desktopFileName()

https://code.qt.io/cgit/qt/qtwayland.git/tree/src/client/qwaylandwindow.cpp#n151

// The appId is the desktop entry identifier that should follow the
// reverse DNS convention (see
http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s02.html).
// According to xdg-shell the appId is only the name, without
// the .desktop suffix.
//
// If the application specifies the desktop file name use that
// removing the ".desktop" suffix, otherwise fall back to the 
// executable name and prepend the reversed organization domain
// when available.
if (!QGuiApplication::desktopFileName().isEmpty()) {
    QString name = QGuiApplication::desktopFileName();
    if (name.endsWith(QLatin1String(".desktop")))
        name.chop(8);
    mShellSurface->setAppId(name);
} else {
...

-- 
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/14d573cf/attachment.html>


More information about the Libreoffice-bugs mailing list