Bug 383708

Summary: Duplicate launcher icons under Gnome
Product: [Frameworks and Libraries] frameworks-frameworkintegration Reporter: markuss <kamikazow>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: CONFIRMED ---    
Severity: normal CC: a.samirh78, bugseforuns, kde-bugzilla, kde
Priority: NOR    
Version: 5.36.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot

Description markuss 2017-08-19 16:49:08 UTC
Created attachment 107367 [details]
Screenshot

After pinning a KDE application icon to the dock to serve as launcher, the application spawns another icon when running.

How to:
* Launch Gnome
* Find a KDE application, e.g. KMail
* Right-click > Add to Favorites
* Launch that application

Result:
See attached screenshot

Only happens with KDE applications. "Pure" Qt applications are not affected.
Comment 1 David Edmundson 2017-10-12 12:50:50 UTC
Is that gnome wayland or X?

Can you also check with dolphin. 
I imagine they're doing .desktop name to ID mapping; which means every app moving to the newer org.kde.kmail "standard" naming. 

I know dolphin will be correct.
Comment 2 Patrick Silva 2017-10-12 13:18:56 UTC
I can confirm this bug on Arch, Gnome 3.26, both Wayland and X11 sessions.
Tested ktorrent and kdenlive.
Comment 3 markuss 2017-10-12 21:08:50 UTC
(In reply to David Edmundson from comment #1)
> Is that gnome wayland or X?

Both.

> Can you also check with dolphin. 
> I imagine they're doing .desktop name to ID mapping; which means every app
> moving to the newer org.kde.kmail "standard" naming. 
> 
> I know dolphin will be correct.

Same bug with Dolphin.
Comment 4 Patrick Silva 2017-11-29 21:46:35 UTC
*** Bug 369478 has been marked as a duplicate of this bug. ***
Comment 5 Ahmad Samir 2017-11-30 10:21:00 UTC
(In reply to David Edmundson from comment #1)
> Is that gnome wayland or X?
> 
> Can you also check with dolphin. 
> I imagine they're doing .desktop name to ID mapping; which means every app
> moving to the newer org.kde.kmail "standard" naming. 
> 

That's the case IIUC; they have had to work around the issue for gnome apps too:
https://git.gnome.org/browse/gnome-shell/tree/js/ui/appFavorites.js
Comment 6 Patrick Silva 2019-04-09 10:43:50 UTC
Bug persists on Arch Linux running Gnome 3.32 and frameworks 5.56.