← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1259539] [NEW] When switching tabs, 'Loading...' with spinner doesn't disappear after tab data was loaded first time

 

Public bug reported:

Bug appears on horizon 2013.2. So i switch to some tab, it loads its
contents from the server, but after the GET request is completed,
'Loading...' string with spinner do not disappear. If I then switch back
to some other tab and then to the tab with hanging spinner, it
successfully shows its contents.

I found the code responsible for tab loading,
static/horizon/js/horizon.tabs.js:18. So if I place a breakpoint (in
Chrome Web Tools) onto line 20, then continue execution, the desired tab
contents appears even when I switch to it first time. Seems like an
async issue - javascript doesn't have enough time to update the DOM.
Also, it wasn't reproduced on slower machines.

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1259539

Title:
  When switching tabs, 'Loading...' with spinner doesn't disappear after
  tab data was loaded first time

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Bug appears on horizon 2013.2. So i switch to some tab, it loads its
  contents from the server, but after the GET request is completed,
  'Loading...' string with spinner do not disappear. If I then switch
  back to some other tab and then to the tab with hanging spinner, it
  successfully shows its contents.

  I found the code responsible for tab loading,
  static/horizon/js/horizon.tabs.js:18. So if I place a breakpoint (in
  Chrome Web Tools) onto line 20, then continue execution, the desired
  tab contents appears even when I switch to it first time. Seems like
  an async issue - javascript doesn't have enough time to update the
  DOM. Also, it wasn't reproduced on slower machines.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1259539/+subscriptions


Follow ups

References