Builds not showing in new tab in FireFox

I seem to have a screen rendering issue in Firefox after opening a new tab

Steps to reproduce the issue

  1. From the job overview screen, right click on a job and open in new tab
  2. Select new tab and build information will show as loading
  3. Click off the Firefox tab onto another window and click back to the new tab in FireFox.
  4. Build now showing the information

the issue with the builds not loading seems to be that the list is loaded once the page loads, OR on focus of the tab (which explains why clicking on the page fixes it)

but if the loading code runs while the page is not visible (new tab case), it bails out early

Thanks

James

Which version of Jenkins are you using?

Sorry forgot to add that.

Version 2.516.2

I can reproduce this with 2.528.1 as well as current weekly in firefox. I remember we had a similar issue before.
Would you mind opening a bug report in github.

Hi Markus,

Thanks for investigating this. I`ve created the bug report in github. I hope this is the correct place

James

Seems to be a race condition within FIrefox. We have an eventlistener for focus, but then the document has still the hidden attribute set and the builds are not loaded

Please submit the issue to the Jenkins core repository rather than the Jenkins documentation repository.

Sorry submitted it to the wrong area. I have now submitted it to the jenkinsci/jenkins development GitHub

1 Like