[Bug 1073397] Re: unityLoaded never gets called

2013-11-26 Thread Mark Hannon
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

[Bug 1073397] Re: unityLoaded never gets called

2013-05-21 Thread Hélion du Mas des Bourboux
@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

[Bug 1073397] Re: unityLoaded never gets called

2013-05-20 Thread Arnaud Ober
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

[Bug 1073397] Re: unityLoaded never gets called

2013-05-16 Thread Hélion du Mas des Bourboux
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

Re: [Bug 1073397] Re: unityLoaded never gets called

2013-05-16 Thread Jean-Luc Thirion
@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

[Bug 1073397] Re: unityLoaded never gets called

2013-05-01 Thread Wayne Do Rego
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) {

[Bug 1073397] Re: unityLoaded never gets called

2013-04-30 Thread Fernando Geraldo Mantoan
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') {

[Bug 1073397] Re: unityLoaded never gets called

2013-04-30 Thread Fernando Geraldo Mantoan
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

[Bug 1073397] Re: unityLoaded never gets called

2013-04-23 Thread Simon Charette
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

[Bug 1073397] Re: unityLoaded never gets called

2013-04-12 Thread Olivier FEBWIN
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:

[Bug 1073397] Re: unityLoaded never gets called

2012-11-27 Thread Jean-Luc Thirion
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:

[Bug 1073397] Re: unityLoaded never gets called

2012-11-27 Thread Jean-Luc Thirion
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:

[Bug 1073397] Re: unityLoaded never gets called

2012-11-26 Thread Jean-Luc Thirion
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

[Bug 1073397] Re: unityLoaded never gets called

2012-11-23 Thread mozon laurent
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

[Bug 1073397] Re: unityLoaded never gets called

2012-11-14 Thread Ramin
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

[Bug 1073397] Re: unityLoaded never gets called

2012-11-14 Thread Ramin
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

[Bug 1073397] Re: unityLoaded never gets called

2012-11-07 Thread Chad Wright
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:

[Bug 1073397] Re: unityLoaded never gets called

2012-11-07 Thread Stefan Sommer
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

[Bug 1073397] Re: unityLoaded never gets called

2012-11-05 Thread Stefan Sommer
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

[Bug 1073397] Re: unityLoaded never gets called

2012-11-05 Thread Stefan Sommer
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

[Bug 1073397] Re: unityLoaded never gets called

2012-11-05 Thread Stefan Sommer
** 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.

[Bug 1073397] Re: unityLoaded never gets called

2012-11-04 Thread Stefan Sommer
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

[Bug 1073397] Re: unityLoaded never gets called

2012-11-04 Thread Andrew Flegg
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

[Bug 1073397] Re: unityLoaded never gets called

2012-11-04 Thread Andrew Flegg
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

[Bug 1073397] Re: unityLoaded never gets called

2012-11-03 Thread Andrew Flegg
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

[Bug 1073397] Re: unityLoaded never gets called

2012-10-31 Thread Stefan Sommer
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

[Bug 1073397] Re: unityLoaded never gets called

2012-10-30 Thread Andrew Flegg
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',

[Bug 1073397] Re: unityLoaded never gets called

2012-10-30 Thread Andrew Flegg
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

[Bug 1073397] Re: unityLoaded never gets called

2012-10-30 Thread Launchpad Bug Tracker
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

[Bug 1073397] Re: unityLoaded never gets called

2012-10-30 Thread Andrew Flegg
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.

[Bug 1073397] Re: unityLoaded never gets called

2012-10-30 Thread Ubuntu Foundation's Bug Bot
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'