Bug 409967 - CSD gtk3 apps have Wayland generic icon in the task switcher
Summary: CSD gtk3 apps have Wayland generic icon in the task switcher
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Unclassified
Component: wayland-generic (show other bugs)
Version: 5.16.3
Platform: Archlinux Packages Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-18 20:45 UTC by Patrick Silva
Modified: 2019-07-22 12:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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