Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-22887

Initial graph horizontal layout does not fit browser width

    Details

    • Similar Issues:

      Description

      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)

        Attachments

          Activity

          Hide
          ioannis Ioannis Moutsatsos added a comment -

          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.

          Show
          ioannis Ioannis Moutsatsos added a comment - 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.
          Hide
          ioannis Ioannis Moutsatsos added a comment -

          This issue is not attributed to the image gallery plugin but rather on a second report on the build page that sets the page width to a very large value. (see my comments)

          Show
          ioannis Ioannis Moutsatsos added a comment - This issue is not attributed to the image gallery plugin but rather on a second report on the build page that sets the page width to a very large value. (see my comments)
          Hide
          kinow Bruno P. Kinoshita added a comment -

          Fixed in 1.2

          Show
          kinow Bruno P. Kinoshita added a comment - Fixed in 1.2

            People

            • Assignee:
              kinow Bruno P. Kinoshita
              Reporter:
              ioannis Ioannis Moutsatsos
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: