Easy to test with keepassx, both available in software center (keepassx) and as a snap (keepassx-elopio)
I can confirm that setting `StartupWMClass=keepassx-elopio_keepassx` in `/var/lib/snapd/desktop/applications/keepassx-elopio_keepassx.desktop` fixes the issue. However, the snap's desktop file already includes the `BAMF_DESKTOP_FILE_HINT`: `Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/keepassx- elopio_keepassx.desktop /snap/bin/keepassx-elopio.keepassx %U` Why is this not working? Is BAMF a unity-only thing? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1718942 Title: running favorited snap shows two icons in Ubuntu dock To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1718942/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs