-
Bug
-
Resolution: Fixed
-
Major
-
Jenkins-CI v 1.532.1 on Windows, image-gallery plugin version 1.1
There appears to be an unexpected behavior in the way multiple graphs are laid out initially. Several graphs appear in the same horizontal section going beyond the boundary of the browser. You have to scroll a lot to get to view them all.
However, if one clicks on any other report on the same page the graph will refresh with a more attractive layout, one that fits horizontally as many graphs as its possible based on the graph size and the current zoom level of the browser. (in the attached example a single graph per row can fit in the browser window)
Upon further experimentation it appears that the inconsistent layout is caused by a second report on the build page (the XML Summary publisher tabbed report)and NOT the image gallery. The XML publisher report is very wide (for one tab) and it sets the browser width to the entire length of a very long string. In this case the gallery report tries to match the current width of the browser and creates the situation I reported here.
By clicking on a second (much narrower tab of the XML Summary report) the browser width gets reset and again the image gallery plugin resets itself to the current width of the browser window. I think this is the expected behavior so I will be closing this issue.