Chrome apps shortcut seldom work as custom launchers

Bug #1483798 reported by Igor Santos on 2015-08-11
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Cairo-Dock Core
Undecided
Unassigned

Bug Description

If you add Chrome web apps launchers to Cairo-Dock as a Custom Launcher, sometimes it fetches the correct window, sometimes not.
When it works, the launcher can also be used to reopen the window once it was launched. However, many times I keep the window open and the launcher side by side, because it cannot recognize the Chrome's custom window.

By "chrome web app launcher" I mean when you're on a site and goes to "Menu > More Tools > Create application shortcut".

Here's a screenshot sample: http://pix.toile-libre.org/upload/original/1439307271.png
You can see here Gmail launcher + Gmail window, and the same for Whatsapp Web.

Running Cairo-Dock 3.4.99.alpha1, just installed from the PPA.

Bryan (bryan3) wrote :

To expand on this a little, using a custom launcher the sub-window always gets filed with the main chrome launcher. For example, I'm trying to use hangouts, and while the Hangouts launcher will correctly launch the Hangouts app, it'll file the new window on the main Chrome launcher.

Checking the WM_CLASS via xprop I see:
WM_CLASS(STRING) = "crx_knipolnnllmklapflnccelgolnpehhpl", "google-chrome"

I've used the same *.desktop launcher for Cairo-Dock, Docky, & Unity... Here are the results:
Cairo-Dock: Launches window, files it (incorrectly) with the main Chrome launcher, and (incorrectly) uses the main Chrome icon in the sub-list
Docky: Launches window, files it (incorrectly) with the main Chrome launcher, and (correctly) uses the Hangouts icon in the sublist
Unity: Launches window, files it correctly in its own launcher, and uses the correct icon.

So there's enough info for the dock to do it in a better way.

Samarth Mathur (samarth-math) wrote :

bump

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers