• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • None
    • Jenkins 1.573

      After upgrading Jenkins the Radiator view no longer works.
      The only thing displayed on the page is:

      • Pale Grey Jenkins Header bar.
      • Small black bar with question mark icon at right hand side.

      After a quick look at it:
      Radiator view has a div called "dashboard" with the following style: height: 100%; width: 100%;

      Tweaking this to height:800px for example will then show the content, although not full screen.

          [JENKINS-23924] New div layout breaks Radiator view

          Geoff Cummings created issue -
          Daniel Beck made changes -
          Component/s Original: core [ 15593 ]

          Joerg Baldzer added a comment -

          Same issue here. We patched the main.jelly file to get it working:
          Location:
          WEB-INF/classes/hudson/model/RadiatorView/main.jelly

          From:

          <div class="dashboard"
                                          style="${dashStyle} overflow: hidden; left:
                                          0px; top: 0px; position: absolute; height: 100%; width: 100%; z-index: 65535">
          

          To:

          <div class="dashboard"
                                          style="${dashStyle} overflow: hidden; left:
                                          0px; top: 0px; position: absolute; height: 95vh; width: 100vw; z-index: 65535">
          

          Not perfect, but it works as a quick fix.
          Regarding vh/vw: Modern browser will understand the new viewport values vh and vw.
          see: http://dev.w3.org/csswg/css-values/#viewport-relative-lengths

          Joerg Baldzer added a comment - Same issue here. We patched the main.jelly file to get it working: Location: WEB-INF/classes/hudson/model/RadiatorView/main.jelly From: <div class= "dashboard" style="${dashStyle} overflow: hidden; left: 0px; top: 0px; position: absolute; height: 100%; width: 100%; z-index: 65535"> To: <div class= "dashboard" style="${dashStyle} overflow: hidden; left: 0px; top: 0px; position: absolute; height: 95vh; width: 100vw; z-index: 65535"> Not perfect, but it works as a quick fix. Regarding vh/vw: Modern browser will understand the new viewport values vh and vw. see: http://dev.w3.org/csswg/css-values/#viewport-relative-lengths

          It works also with

          <div class="dashboard"
                                          style="${dashStyle} overflow: hidden; left:
                                          0px; top: 0px; position: fixed; height: 100%; width: 100%; z-index: 65535">
          

          Lorenzo Orsatti added a comment - It works also with <div class= "dashboard" style="${dashStyle} overflow: hidden; left: 0px; top: 0px; position: fixed; height: 100%; width: 100%; z-index: 65535">
          Baptiste Mathus made changes -
          Assignee Original: howama [ howama ] New: Baptiste Mathus [ batmat ]
          Baptiste Mathus made changes -
          Priority Original: Major [ 3 ] New: Blocker [ 1 ]
          Baptiste Mathus made changes -
          Attachment New: 2e05b1d1907b8c3368046499f11b3165.jpg [ 26901 ]
          Baptiste Mathus made changes -
          Link New: This issue is duplicated by JENKINS-24104 [ JENKINS-24104 ]

          Baptiste Mathus added a comment - - edited

          I'm gonna work in this one ASAP. But a bit time lacking just now, so if anyone cares about carving a pull request on the current master HEAD, that would definitely help to fix it quicker. Thanks

          Baptiste Mathus added a comment - - edited I'm gonna work in this one ASAP. But a bit time lacking just now, so if anyone cares about carving a pull request on the current master HEAD, that would definitely help to fix it quicker. Thanks
          Baptiste Mathus made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

            batmat Baptiste Mathus
            gcummings Geoff Cummings
            Votes:
            7 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved: