Gmail Webapp doesn't work

Bug #1059051 reported by Alin Andrei
224
This bug affects 49 people
Affects Status Importance Assigned to Milestone
WebApps: Applications Data
New
Undecided
Unassigned
unity-webapps-gmail (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The Gmail Unity WebApp doesn't work with either Firefox 15 or Chromium 20. In Chromium I get no browser request to integrate Gmail with Unity while in Firefox, I do get the request but I don't get any desktop notifications or messaging menu integration.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: unity-webapps-gmail 2.2
ProcVersionSignature: Ubuntu 3.5.0-16.25-generic 3.5.4
Uname: Linux 3.5.0-16-generic x86_64
ApportVersion: 2.5.3-0ubuntu1
Architecture: amd64
Date: Sun Sep 30 16:22:28 2012
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120914)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: unity-webapps-gmail
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Alin Andrei (nilarimogard) wrote :
Revision history for this message
Bence Lukács (lukacs-bence1) wrote :

Same here.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in unity-webapps-gmail (Ubuntu):
status: New → Confirmed
Revision history for this message
Hanine HAMZIOUI (hanynowsky) wrote :

Same here! unity-webapps-gmail is installed. Firefox prompted me to install its script and I clicked yes.
But never've heard or seen since then. It seems like a ghost webapp.

sudo dpkg-reconfigure unity-webapps-gmail

does not help.

Is there any way to get firefox prompt for gmail webapp instalation again?

PS: All other webapps are working fine.

Revision history for this message
William Oprandi (woprandi) wrote :

Same here too

Revision history for this message
tyrus fisher (tyrusone) wrote :

Me too. As described above: "unity-webapps-gmail is installed. Firefox prompted me to install its script and I clicked yes.
But never've heard or seen since then."

Revision history for this message
Audrey Durand (adurand) wrote :

I just got some updates and now using Chromium (Version 20.0.1132.47 Ubuntu 12.10 (144678)) I can switch to the Gmail tab in my browser with the alt-tab shortcut. Gmail can also be launched from the dash and it appears in the launcher. However, there is no Gmail entry in the messages indicator.

Revision history for this message
Mike Pasche (mike-d-pasche) wrote :

With the new unity-webapps-gmail 2.4.7 and Firefox 15.0.1 it is now working for me.

Changed in unity-webapps-gmail (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Serverless (cla-mail) wrote :

Still not solved, no integration even after a fresh os install ( 12.10 RC )

Revision history for this message
Federico Tello Gentile (federicotg) wrote :

When I load gmail I get this message in the firefox error console

Fecha: 18/10/12 23:27:38
Error: Exponer objetos JS del chrome al contexto sin __exposedProps__ es inseguro y obsoleto. Vea https://developer.mozilla.org/en/XPConnect_wrappers para más información
Archivo Fuente: resource://unity_webapps/runScript.js
Línea: 84

Revision history for this message
Phillip Lickteig (pmlickteig) wrote :

I am also affected by this, having just done a clean install to 12.10 yesterday. None of the webapps, including Facebook, function in the message indicator, nor in the launcher.

Revision history for this message
Edward Donovan (edward.donovan) wrote :

Hi Phillip -

If no webapps are working for you, then you're experiencing more than just this bug, which is about Gmail. I don't know if there's another bug about "no webapps functionality." If you don't see one, you might use "Ask A Question" on Launchpad, and look on http://askubuntu.com , too.

Revision history for this message
Damien Wendlinger (d-wendlinger) wrote :

Same behavior for me :
Ubuntu : 12.10 - uptodate
Firefox : 16.0.1 - uptodate
It's not a fresh install but an upgrade 12.04 -> 12.10 (no problem otherwise reported)
The "do you want to add gmail... ?" in Firefox appears almost every time I log into gmail
Each time has a "yes" answered, but nothing happens then.
=> Within firefox, Preferences>Desktop Integration shows a checked "prompt for integration..."
and the Exceptions list is just empty
unity-webapps-gmail is v2.4.7

hope this helps...

Revision history for this message
bro (matthijsbro) wrote :

Why does it say 'fix released' - the problem is persistent.

Revision history for this message
Andrew Flegg (aflegg) wrote :

Exactly as described for me with unity-webapps-gmail 2.4.7 and Firefox 16.0.1+build1-0ubuntu1. Other web apps, such as Google Calendar and Launchpad work fine.

Revision history for this message
Andrew Flegg (aflegg) wrote :

I'm using Google Apps in the UK (e.g. "Bin" rather than "Trash" and <email address hidden> address); perhaps it's related to bug #1069576 which deals with the issues with it in Germany.

Revision history for this message
DK (dkretz) wrote :

For me, it works with Firefox, but not Chrome (my default browser). When I launch the gmail app from the dash, it just opens another instance of Chrome.

Revision history for this message
Andrew Flegg (aflegg) wrote :

I've upgraded another machine to Quantal, and despite being asked whether or not I want to install it; installing it and restarting Firefox - no Launcher integration for Gmail. Google Calendar and Launchpad both work fine here too.

Revision history for this message
Andrew Flegg (aflegg) wrote :

I've done some more investigation and opened bug #1073397, since this one is "released".

Revision history for this message
Andrew Flegg (aflegg) wrote :

I've attached a patch to bug #1073397 which has got the Gmail integration working in my Firefox instance. Comments from others welcome.

No recompilation is necessary since the patch can be made directly to the JavaScript at /usr/share/unity-webapps/userscripts/unity-webapps-gmail/GMail.user.js.

Revision history for this message
Maliktunga (maliktunga) wrote :

GMail still doesn't work for me in Ubuntu 13.10 and Firefox 24.0.

I installed the Webapp.
It appears in the Dash and in the Messaging menu.
Although, when I visit mail.google.com (or gmail.com), nothing happens. The icon doesn't appear in the Launcher, even if GMail is Locked to the Launcher, no link is done.
In the Messaging menu, there's no arrow that indicates that the app is active. It's always dormant.

Has this been resolved? What should I do to solve it?

Revision history for this message
Thomas (g-canonical) wrote :

Can tell more than Gilles-Philippe Morin (#21), everything is *exactly* the same for me.

Revision history for this message
Rodrigo Silva dos Santos (rodrigos-santos01) wrote :

webapp depends on the box with the user's email, it means that is strongly interface dependant. It should rely on the 'class' or 'id' attribute instead of a DOM tree. Everytime google change it's interface, everything stop to work.

My suggested fix is to change the line #146 to this:
gmaillogin = document.evaluate('//div[@class="gb_Q"]', document, null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue.textContent;

and the line #153 to this:
gappslogin = document.evaluate('//span[@id="gbgs4dn"]', document, null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue.textContent;

Tested here, it fix for both personal account and google apps. Don't know if this ID and Class will change, but is more reliable than the tree.

Revision history for this message
Patricio Baldino (pbaldino) wrote :

I have exactly the same behaviour as described by Gilles-Philippe Morin (#21).

I've made the changes suggested by Rodrigo Silva dos Santos (#23), and something seems to improved. Know the icon in the launcher opens the webpage and has the right-click-option to Compose a new mail. However, there are no indication of unread mails (neither in the launcher nor in the top menu bar).

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.