← Back to team overview

ubuntu-webapps-bugs team mailing list archive

[Bug 1073397] Re: unityLoaded never gets called

 

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 are a member of Ubuntu
WebApps bug tracking, which is subscribed to unity-webapps-gmail in
Ubuntu.
https://bugs.launchpad.net/bugs/1073397

Title:
  unityLoaded never gets called

Status in “unity-webapps-gmail” package in Ubuntu:
  Confirmed

Bug description:
  This is a continuation of bug #1059051 which seems to be resolved for
  some but not others.

  I'm using 2.4.7 of unity-webapps-gmail in Firefox
  16.0.2+build1-0ubuntu0.12.10.1 in Quantal.

  As described on bug #1059051, the request to install appears, but
  nothing appears in the launcher - nor are there any menu or other
  integrations.

  No errors appear in the console if Firefox is launched from a
  terminal.

  By using a bit of judicious `window.alert' debugging in /usr/share
  /unity-webapps/userscripts/unity-webapps-gmail/GMail.user.js,
  everything is executing perfectly up until the invocation of
  Unity.init towards the end of the script. A window.alert immediately
  before this works, but an alert at the top of unityLoaded() doesn't.

  I'm guessing that the delay introduced by setTimeout/wrapCallback and
  the inner "wait()" function is what's causing the problem. Neither
  unity-webapps-googlecalendar nor unity-webapps-launchpad have that
  extra delay step. Unfortunately, removing the delay isn't feasible
  either because of the dynamic loading of Gmail.

  Without knowing more about Unity.init and the purpose of
  "wrapCallback", I'm not sure what's going on. Is there any
  documentation?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-webapps-gmail/+bug/1073397/+subscriptions