kwin_wayland and setWindowIcon()

David Edmundson david at davidedmundson.co.uk
Mon Sep 11 20:15:20 UTC 2017


>From a KDE side we can't use that as we don't have it.

There is no icon name part of the specification in either of the shell
protocols.
The only relevant event is AppId.

Qt could base the appId off the window icon but it wouldn't make any sense;
(code for this and it's fallbacks if the .desktopfile are not set are in
qwaylandwindow.cpp:163->183)

I very very much doubt the sent data would be any different in weston.
You can run WAYLAND_DEBUG=1 qtcreator and grep for the icon name if you
like.

If you see no output it means you're running in xwayland, which would also
be a reason it works.

The only other thing that might be different is their appId -> desktop file
-> icon resolution;
You can show find out what Qt sends for QtCreator using that debug line,
and then see there's a reason we don't find the relevant .desktop file.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170911/64cb7092/attachment-0001.html>


More information about the Plasma-devel mailing list