This bug recently (last month) started to impact me. The removal of
the login attribute as described in comment #1 fixed things for me. (I
have login credentials stored with Lastpass in both firefox and chromium
if that provides any hints)
--
You received this bug notification because you
@Jean-Luc Thirion (jlinho)
Thank for your answer. If it only work when the website is open, I have
dificulties to understand what is the purpose of it. Why see the number of
unread email in the launcher when I can see it directly on the page.
The real solution is then to make the gmail webapp
I used the Google Plus patch. What have I to do after this patch? Just
restart session?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1073397
Title:
unityLoaded never gets called
To manage
The patch only works for me if I use Firefox and if gmail.com is open. I
use Chromium and I don't see the use of having a launcher count emails
only if I can see them direcly. I used Jean-Luc Thirion (jlinho) patch.
Thank you if you have any idea, maybe someting should be changed in
dconf ? I
@Helion
Unity Web integration works only when the related web site is open in your
browser.
2013/5/16 Hélion du Mas des Bourboux helion331...@gmail.com
The patch only works for me if I use Firefox and if gmail.com is open. I
use Chromium and I don't see the use of having a launcher count
I've made a few changes that seem to get some simple notifications
going...
Add the following line:
var lastMessanges = 0;
After:
var pane = null;
Then add:
if (lastMessanges numMessanges) {
lastMessanges = numMessanges
if (lastMessanges == 1) {
I had the same problem here, regarding the function
checkMessagesCount().
What happens is that the variable tag is null when the evaluate()
function doesn't find what it's looking for. Then, the following line
will raise an exception:
if (tag.textContent != 'Gmail' tag.textContent != 'Mail') {
A workaround for GMail in Brazilian Portuguese:
var tag = document.evaluate('//div[@aria-label=Navegar para]/span',
document, null, XPathResult.ANY_UNORDERED_NODE_TYPE,
null).singleNodeValue;
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
Jean-Luc, your patch works perfectly for me using fr-CA gmail :) Thank
you!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1073397
Title:
unityLoaded never gets called
To manage notifications about
What's about the official patch ?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1073397
Title:
unityLoaded never gets called
To manage notifications about this bug go to:
Here is a basic patch for French Gmail users.
Note that the original script does work only for English GMail, since
there is an explicit référence to english text in function
checkMessangesCount(). '//div[@aria-label=Navigate to]/span'. In
the french GMail version the XPath translates to:
Here is a basic patch for French Gmail users.
Note that the original script does work only for English GMail, since
there is an explicit référence to english text in function
checkMessangesCount(). '//div[@aria-label=Navigate to]/span'. In
the french GMail version the XPath translates to:
I also applied the Consolidated path from Andrew Flegg (aflegg) -
message from 2012-11-04.
But I get the same issue as laurent-mozon, I have an icon but:
- no message count
- nor integration in the message indicator applet.
--
You received this bug notification because you are a member of
thx for job
iv applied the patch and the icon in launcher appear. but no integration in the
message indicator (no icone and so no unread message).
is this patch solved every thing for you ??? or juste as me the launcher
icon ?
--
You received this bug notification because you are a member of
will they officially fix this or do we have to apply that patch? how
does it work? should i choose to install the gmail webapp through
firefox and then apply the patch or apply it first?
its pretty frustrating they havent fixed this to be honest
--
You received this bug notification because you
its ok ive applied the patch. i wonder if they'll put out an official
fix for this?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1073397
Title:
unityLoaded never gets called
To manage
How does one go about applying these patches
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1073397
Title:
unityLoaded never gets called
To manage notifications about this bug go to:
Chad, in a terminal do something like
cd; wget https://bugs.launchpad.net/ubuntu/+source/unity-webapps-
gmail/+bug/1073397/+attachment/3424017/+files/Gmail3.user.patch; cd
/usr/share/unity-webapps/userscripts/unity-webapps-gmail/; sudo patch
GMail.user.js ~/Gmail3.user.patch
for the gmail
Thanks, Andrew. I tested the patch on several machines and it does the
job on all of them.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1073397
Title:
unityLoaded never gets called
To manage
Same issue for google calendar and google plus. Patch attached.
** Patch added: GoogleCalendar.user.js.patch
https://bugs.launchpad.net/ubuntu/+source/unity-webapps-gmail/+bug/1073397/+attachment/3424694/+files/GoogleCalendar.user.js.patch
--
You received this bug notification because you
** Patch added: GooglePlus.user.js.patch
https://bugs.launchpad.net/ubuntu/+source/unity-webapps-gmail/+bug/1073397/+attachment/3424695/+files/GooglePlus.user.js.patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Thanks. I get the first initialization alert but it fails on
isCorrectPage(). With Firefox's inspector I can see that the body
element contains elements with id=js_frame and id=hist_frame but the
script fails to find any of them. Is it possible that the document is
not correctly passed to the
Would be happy to see your HTML if you email it to me. I'm using Google
Apps too; so, some follow-up questions:
1) What language/country is Google Apps in?
2) What kind of connection are you using? How fast is it?
3) What browser are you using on what hardware?
I wonder if speed of
Stefan's helped me do more debugging and moving the isCorrectPage() call
*inside* the timeout (to mitigate the Gmail dynamic loading) has got it
working for him.
Gmail3.user.patch is a consolidated patch which should work in more
circumstances.
** Patch added: Consolidated patch
Another patch. This one corrects the XPath to get the correct labels and
ALSO includes three window.alert debug points:
1) Script initialisation
2) When isCorrectPage() returns true
3) After Unity integration has initialised
If the patch still isn't working for you, please record which of these
The patch didn't work for me - still no gmail in the launcher or other
integration.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1073397
Title:
unityLoaded never gets called
To manage
Found it, it's the passing of login which doesn't work. Removing
login from the call to `Unity.init' gets me a launcher icon:
8
Unity.init({ name: GMail,
iconUrl: icon://unity-webapps-gmail,
homepage: 'https://mail.google.com',
Once passed that there are a couple of other issues:
1) `checkMessangesCount()' [sic] doesn't handle the fact that there could be
newlines/whitespace after the Mail (there is in my DOM)
2) The label identification code is completely wrong for my setup.
The attached patch to GMail.user.js
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: unity-webapps-gmail (Ubuntu)
Status: New = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1073397
The patch's fix to the labels isn't quite right. I'm getting the ones
below the More v fold appear in the messaging menu, rather than the
ones above it. Should be an easy fix, though.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
The attachment Gmail.user.patch of this bug report has been identified
as being a patch. The ubuntu-reviewers team has been subscribed to the
bug report so that they can review the patch. In the event that this is
in fact not a patch you can resolve this situation by removing the tag
'patch'
31 matches
Mail list logo