[regression] Webapp launchers broken with latest Google Chrome stable and Unity

Bug #939409 reported by David Barth on 2012-02-23
36
This bug affects 6 people
Affects Status Importance Assigned to Milestone
BAMF
High
Unassigned
Unity
Confirmed
High
Unassigned
unity (Ubuntu)
High
Unassigned

Bug Description

I recently updated Google Chrome to the latest stable version (17.0.963.56) and using the latest Unity/Bamf, I noticed that the launcher was getting confused again between web apps and the browser itself.

Scenario
- go to a a webapp: calendar.canonical.com for example
- save the web app to a .desktop file
- put that .desktop file on your launcher
- quit all browser or webapp instances
- start the new web app on your launcher bar
- start a new browser from the launcher bar

What should happen:
- the webapp launcher is active and a small triangle indicates that the webapp window is associated with it
- the browser launcher is active and a small triangle indicates that the webapp window is associated with it

What happens instead:
- all webapp and browser windows are associated with the first launcher that is used, the webapp one in this case

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: unity 5.4.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-16.25-generic 3.2.6
Uname: Linux 3.2.0-16-generic i686
ApportVersion: 1.91-0ubuntu1
Architecture: i386
CompizPlugins: [core,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,resize,fade,unitymtgrabhandles,scale,session,unityshell]
Date: Thu Feb 23 12:02:43 2012
SourcePackage: unity
UpgradeStatus: Upgraded to precise on 2012-02-16 (7 days ago)

David Barth (dbarth) wrote :
David Barth (dbarth) wrote :

I compared the webapp desktop files that I was using, and the ones that the new version of Google Chrome is creating. They are attached to this comment:

diff -u chrome-https___www.google.com_calendar_b_0_render.desktop ~/chrome-https___www.google.com_calendar_hosted_canonical.com_render_tab\=oc.desktop
--- chrome-https___www.google.com_calendar_b_0_render.desktop 2012-02-23 11:52:52.000000000 +0100
+++ /home/dbarth/chrome-https___www.google.com_calendar_hosted_canonical.com_render_tab=oc.desktop 2009-12-09 09:58:59.000000000 +0100
@@ -2,11 +2,12 @@
 [Desktop Entry]
 Version=1.0
 Name=Canonical - Calendar
-GenericName[fr]=Navigateur Web
-Comment[fr]=Accéder à Internet
-Exec=/opt/google/chrome/google-chrome --app=https://www.google.com/calendar/b/0/render
+Exec=google-chrome --app="https://www.google.com/calendar/hosted/canonical.com/render?tab=oc"
 Terminal=false
-Icon=chrome-https___www.google.com_calendar_b_0_render
+X-MultipleArgs=false
 Type=Application
-Categories=Network;WebBrowser;
-StartupWMClass=www.google.com__calendar_b_0_render
+Icon=chrome-https___www.google.com_calendar_hosted_canonical.com_render_tab=oc
+Categories=Application;Network;
+MimeType=text/html;
+StartupWMClass=Chromium
+StartupNotify=true
dbarth@thinkpad:~/.local/share/applications$ more chrome-https___www.google.com_calendar_b_0_render.desktop
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Name=Canonical - Calendar
GenericName[fr]=Navigateur Web
Comment[fr]=Accéder à Internet
Exec=/opt/google/chrome/google-chrome --app=https://www.google.com/calendar/b/0/render
Terminal=false
Icon=chrome-https___www.google.com_calendar_b_0_render
Type=Application
Categories=Network;WebBrowser;
StartupWMClass=www.google.com__calendar_b_0_render

David Barth (dbarth) wrote :
David Barth (dbarth) wrote :

Using bamf-0.2.110-0ubuntu1

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity (Ubuntu):
status: New → Confirmed
Omer Akram (om26er) on 2012-02-23
Changed in bamf:
status: New → Confirmed
Changed in unity:
status: New → Confirmed
David Barth (dbarth) on 2012-02-23
Changed in bamf:
importance: Undecided → High
Changed in unity:
importance: Undecided → High
Changed in unity (Ubuntu):
importance: Undecided → High
David Barth (dbarth) on 2012-03-26
tags: added: hitlist
tags: removed: hitlist
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers