[Bug 1718942] Re: running favorited snap shows two icons in Ubuntu dock

2017-10-13 Thread Merlijn Sebrechts
I can't reproduce anymore on 17.10, keepassx-elopio is now associated with the correct icon, even though the StartupWMClass in their desktop file is still incorrect. ** Changed in: snappy Status: New => Fix Released ** Changed in: gnome-shell-extension-ubuntu-dock (Ubuntu) Status:

[Bug 1718942] Re: running favorited snap shows two icons in Ubuntu dock

2017-10-13 Thread Merlijn Sebrechts
@jesse: Your bug is a different one, please open a new bug report for that one. -- 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

[Bug 1718942] Re: running favorited snap shows two icons in Ubuntu dock

2017-10-13 Thread Merlijn Sebrechts
@jesse: I reported it here: https://bugs.launchpad.net/ubuntu/+source /gnome-shell-extension-ubuntu-dock/+bug/1723355 -- 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

[Bug 1718942] Re: running favorited snap shows two icons in Ubuntu dock

2017-10-08 Thread John Lenton
@Merlijn, I don't think there's a way for snapd to know the WMClass of an app in a snap. -- 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

[Bug 1718942] Re: running favorited snap shows two icons in Ubuntu dock

2017-10-01 Thread Jesse
I'm also experiencing a similar issue: left-click+dragging an app icons (snap or traditional package) to the Ubuntu dock to favorite it adds two shortcut instances instead of one. Performing this for gedit produces two favorite shortcuts, everytime. Bug discovered on Ubuntu 17.10 beta 2. -- You

[Bug 1718942] Re: running favorited snap shows two icons in Ubuntu dock

2017-09-28 Thread Merlijn Sebrechts
That makes sense. I did some digging, `StartupWMClass` is a freedesktop standard [1], so it seems a good DE-agnostic way to fix this issue. The `BAMF_DESKTOP_FILE_HINT` isn't set by the app developer [2], it's put there by snapd [3]. Thus, the correct place to fix this seems to be that place;

Re: [Bug 1718942] Re: running favorited snap shows two icons in Ubuntu dock

2017-09-28 Thread John Lenton
bamfdaemon is a unity thing, i believe On 28 September 2017 at 08:24, Merlijn Sebrechts wrote: > Easy to test with keepassx, both available in software center (keepassx) > and as a snap (keepassx-elopio) > > > I can confirm that setting

[Bug 1718942] Re: running favorited snap shows two icons in Ubuntu dock

2017-09-28 Thread Merlijn Sebrechts
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

Re: [Bug 1718942] Re: running favorited snap shows two icons in Ubuntu dock

2017-09-28 Thread John Lenton
I don't know which app you're testing this with, but I suspect it needs to add a StartupWMClass entry in its .desktop file On 28 September 2017 at 03:49, Merlijn Sebrechts wrote: > ** Tags added: artful > > ** Also affects: gnome-shell-extension-ubuntu-dock (Ubuntu)

[Bug 1718942] Re: running favorited snap shows two icons in Ubuntu dock

2017-09-28 Thread Merlijn Sebrechts
** Tags added: artful ** Also affects: gnome-shell-extension-ubuntu-dock (Ubuntu) Importance: Undecided Status: New -- 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