Bug 409996

Summary: gcompris 0.96 has Wayland generic icon when you press alt+tab
Product: [Applications] gcompris Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: Jazeix Johnny <jazeix>
Status: RESOLVED FIXED    
Severity: normal CC: aspotashev, jazeix
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Patrick Silva 2019-07-19 13:00:19 UTC
STEPS TO REPRODUCE
1. open gcompris on Wayland session
2. press alt+tab and hold alt key
3. 

OBSERVED RESULT
Wayland generic icon instead of gcompris icon

EXPECTED RESULT
alt+tab shows gcompris icon

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.16.3
KDE Frameworks Version: 5.60.0
Qt Version: 5.13.0
Comment 1 Jazeix Johnny 2019-07-20 09:25:17 UTC
Hi,
thanks for the report.

Some tracks that can help debugging: 
* http://plfiorini.blogspot.com/2015/07/how-to-make-your-qt-application-icon.html 

* desktop filename: org.kde.gcompris.desktop
* organisation domain is set to kde.org: https://cgit.kde.org/gcompris.git/tree/src/core/main.cpp#n111
* application name to gcompris-qt

Can you test renaming the desktop file to org.kde.gcompris-qt.desktop and test again?
Comment 2 Patrick Silva 2019-07-20 11:34:36 UTC
yes, renaming .desktop file to org.kde.gcompris-qt.desktop solves this issue.
Comment 3 Jazeix Johnny 2019-07-28 11:23:23 UTC
Thank you for the test.
I'll ask the mailing list to be sure everything is fine by renaming the desktop file and will do it afterwards.
Comment 4 Jazeix Johnny 2019-07-29 07:23:43 UTC
Git commit 23afc901890e996ab736b0203214ca2e1788679e by Johnny Jazeix.
Committed on 29/07/2019 at 07:23.
Pushed by jjazeix into branch 'master'.

M  +5    -0    src/core/main.cpp

https://commits.kde.org/gcompris/23afc901890e996ab736b0203214ca2e1788679e