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

Build log is scrolled down unconditionally on update

    • iapetus, 1.0, Blue Ocean 1.0-rc3, Blue Ocean 1.0-rc4, Blue Ocean - 1.1-beta-1, Blue Ocean - 1.1-beta2

      It's impossible to read earlier parts of the build log of an in progress build as it scrolls down unconditionally when there's a log update. Jenkins classic UI only kept to the bottom of the page if that's where you were anyway.

      Affected URL:
      https://ci.jenkins.io/blue/organizations/jenkins/Infra%2Fjenkins.io/detail/PR-623/1/pipeline (while build is in progress)

          [JENKINS-41885] Build log is scrolled down unconditionally on update

          Michael Neale added a comment -

          The WIP PR is: https://github.com/jenkinsci/blueocean-plugin/pull/839 - which looks to the best of my knowledge to address this pretty nicely (and other things, its not a trivial change to such timing sensitive code). 

          Michael Neale added a comment - The WIP PR is: https://github.com/jenkinsci/blueocean-plugin/pull/839  - which looks to the best of my knowledge to address this pretty nicely (and other things, its not a trivial change to such timing sensitive code). 

          tsniatowski sorry for taking so long, but you can try https://github.com/jenkinsci/blueocean-plugin/pull/839 which is in review and see whether it fixes your issue.

          Some side note. It is best to "stop karaoke" by either scroll up or key up when focusing on the "karaoke element". Karaoke I refer to the follow-along components currently focused.like log for step 69 of node 7.

          Thorsten Scherler added a comment - tsniatowski sorry for taking so long, but you can try https://github.com/jenkinsci/blueocean-plugin/pull/839  which is in review and see whether it fixes your issue. Some side note. It is best to "stop karaoke" by either scroll up or key up when focusing on the "karaoke element". Karaoke I refer to the follow-along components currently focused.like log for step 69 of node 7.

          Daniel Beck added a comment -

          FWIW 1.0.0-rc1 stops updating the build log when you scroll up. There's one more update, then it stops.

          Daniel Beck added a comment - FWIW 1.0.0-rc1 stops updating the build log when you scroll up. There's one more update, then it stops.

          James Dumay added a comment -

          Will be released in Blue Ocean 1.1

          James Dumay added a comment - Will be released in Blue Ocean 1.1

          TBH this seems only partially fixed. It's largely ok when scrolling up via the scroll wheel, but grabbing the scrollbar and scrolling up that way gets bumped back down to bottom of the page all the time. This is not the case in the non-blue-ocean log view where the scroll-to-bottom is not annoying.

          Tomasz Śniatowski added a comment - TBH this seems only partially fixed. It's largely ok when scrolling up via the scroll wheel, but grabbing the scrollbar and scrolling up that way gets bumped back down to bottom of the page all the time. This is not the case in the non-blue-ocean log view where the scroll-to-bottom is not annoying.

          Michael Neale added a comment -

          tsniatowski there is another ticket to actually not make the log scroll past at all until you expand it, so in time I think this will go away.. (can't seem to find the ticket though)

          Michael Neale added a comment - tsniatowski there is another ticket to actually not make the log scroll past at all until you expand it, so in time I think this will go away.. (can't seem to find the ticket though)

          That sounds like it won't help much once it starts expanding. Why can't it be done like in the old ui?

          Tomasz Śniatowski added a comment - That sounds like it won't help much once it starts expanding. Why can't it be done like in the old ui?

          Michael Neale added a comment -

          tsniatowski yes fair enough - it shouldn't fail if you scroll a different way. Do you mind opening up a follow on ticket with this? (possibly with a little gif/video of the the behavior?)

          Michael Neale added a comment - tsniatowski yes fair enough - it shouldn't fail if you scroll a different way. Do you mind opening up a follow on ticket with this? (possibly with a little gif/video of the the behavior?)

          Tomasz Śniatowski added a comment - Filed  JENKINS-47318

          +1 for improving the the autoscroll in blue ocean, we would like to have a similar experience to the normal UI 

          Krasimir Popov added a comment - +1 for improving the the autoscroll in blue ocean, we would like to have a similar experience to the normal UI 

            Unassigned Unassigned
            danielbeck Daniel Beck
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: