Bug 73 - Dock icon is duplicated on elementaryOS when run as flatpak (fix available)
Summary: Dock icon is duplicated on elementaryOS when run as flatpak (fix available)
Status: CONFIRMED
Alias: None
Product: Asunder
Classification: Unclassified
Component: All (show other bugs)
Version: 2.9.5
Hardware: PC Linux
: enhancement
Assignee: Andrew Smith
URL:
Depends on:
Blocks:
 
Reported: 2021-12-15 11:04 EST by Stan
Modified: 2022-01-04 12:59 EST (History)
2 users (show)

See Also:


Attachments
This patch should add the StartupWMClass to the .desktop file (548 bytes, patch)
2021-12-15 11:04 EST, Stan
Details

Description Stan 2021-12-15 11:04:45 EST
Created attachment 46 [details]
This patch should add the StartupWMClass to the .desktop file

The elementaryOS dock is unable to correctly associate the dock icon of a running application with its main window, leading to a duplicate dock icon right after starting such an application [1].

The fix is to include StartupWMClass=Asunder in the application's .desktop entry.

I've contributed this as a patch to the flathub repo [2] of Asunder, but it would be preferrable if this fix could be included upstream. I don't believe adding the StartWMClass explicitly has any negative side-effects.

I've attached a git patch that adds this line to de .desktop file.

References:

[1]: https://github.com/elementary/dock/issues/64
[2]: https://github.com/flathub/ca.littlesvr.asunder/pull/29

Note You need to log in before you can comment on or make changes to this bug.