Bug 409967

Summary: CSD gtk3 apps have Wayland generic icon in the task switcher
Product: [Plasma] kwin Reporter: Patrick Silva <bugseforuns>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: bugzilla, kde
Priority: NOR    
Version: 5.16.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Patrick Silva 2019-07-18 20:45:34 UTC
SUMMARY
CSD gtk3 apps have generic Wayland icon in the task switcher.
Examples of affected apps:
evince pdf viewer
gnome disks utility
gnome mpv video player
totem video player
pulse effects

STEPS TO REPRODUCE
1. start Wayland session
2. install and open any app mentioned above
3. press alt+tab and hold alt key

OBSERVED RESULT
mentioned above

EXPECTED RESULT
The task switcher shows the icon of the CSD gtk3 app 

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.16.3
KDE Frameworks Version: 5.60
Qt Version: 5.13


ADDITIONAL INFORMATION
SSD gkt3 apps are not affected. For exameple, the following SSD gtk3 apps
have the correct icon in the task switcher:

transmission torrent client
brasero cd/dvd/bd burner
uget download manager
quod libet music player
deluge 2.0.3 torrent client
gaupol subtitles editor
shotwell photo manager
Comment 1 David Edmundson 2019-07-18 20:50:29 UTC
Please report to those apps.

CSD vs SSD will be irrelevant.

They almost certainly have a wrong app_id set compared to their .desktop file name.


You can verify with WAYLAND_DEBUG=1 myApp |& grep  set_app_id  and then looking for the relevant .desktop file

If they do match, please do reopen here.
Comment 2 Patrick Silva 2019-07-18 23:41:35 UTC
totem video player case:
ouput of your command is
[4141048,375]  -> xdg_toplevel@32.set_app_id("totem")

.desktop file name: org.gnome.Totem.desktop
Comment 3 David Edmundson 2019-07-19 07:53:17 UTC
>[4141048,375]  -> xdg_toplevel@32.set_app_id("totem")


This should say org.gnome.Totem  only totem can fix that
Comment 4 Bastien Nocera 2019-07-22 12:58:36 UTC
The GTK bug that was filed:
https://gitlab.gnome.org/GNOME/gtk/issues/2034