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

Build log is scrolled down unconditionally on update

    XMLWordPrintable

Details

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

    Description

      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)

      Attachments

        Issue Links

          Activity

            danielbeck Daniel Beck created issue -
            jamesdumay James Dumay made changes -
            Field Original Value New Value
            Epic Link JENKINS-35750 [ 171713 ]
            jamesdumay James Dumay made changes -
            Sprint panthalassa [ 221 ]
            jamesdumay James Dumay made changes -
            Rank Ranked higher
            jamesdumay James Dumay added a comment -

            tscherler might be worth investigating this in your karaoke refactor?

            jamesdumay James Dumay added a comment - tscherler might be worth investigating this in your karaoke refactor?
            jamesdumay James Dumay made changes -
            Assignee Thorsten Scherler [ tscherler ]
            jamesdumay James Dumay made changes -
            Sprint panthalassa [ 221 ] iapetus [ 216 ]
            jamesdumay James Dumay made changes -
            Rank Ranked lower
            michaelneale Michael Neale made changes -
            Labels karaoke
            michaelneale Michael Neale made changes -
            Link This issue relates to JENKINS-38523 [ JENKINS-38523 ]
            michaelneale Michael Neale added a comment -

            karaoke needs some rework

            michaelneale Michael Neale added a comment - karaoke needs some rework
            jamesdumay James Dumay made changes -
            Sprint iapetus [ 216 ] iapetus, 1.0 [ 216, 221 ]
            jamesdumay James Dumay made changes -
            Rank Ranked higher
            jamesdumay James Dumay made changes -
            Priority Major [ 3 ] Minor [ 4 ]

            this makes in-progress builds frustrating to look at in blueocean, I think it could use a bump in priority.

            tsniatowski Tomasz Śniatowski added a comment - this makes in-progress builds frustrating to look at in blueocean, I think it could use a bump in priority.
            jamesdumay James Dumay added a comment -

            This is on the current sprint so expect to see progress soon

            jamesdumay James Dumay added a comment - This is on the current sprint so expect to see progress soon

            Nice, thanks for the update!

            tsniatowski Tomasz Śniatowski added a comment - Nice, thanks for the update!
            michaelneale Michael Neale made changes -
            Priority Minor [ 4 ] Major [ 3 ]
            michaelneale Michael Neale made changes -
            Rank Ranked higher
            jamesdumay James Dumay made changes -
            Sprint iapetus, 1.0 [ 216, 221 ] iapetus, 1.0, 1.0-rc1 [ 216, 221, 261 ]
            jamesdumay James Dumay made changes -
            Sprint iapetus, 1.0, Blue Ocean 1.0-rc3 [ 216, 221, 261 ] iapetus, 1.0, Blue Ocean 1.0-rc3, Blue Ocean 1.0-rc4 [ 216, 221, 261, 281 ]
            tscherler Thorsten Scherler made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            michaelneale 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). 

            michaelneale 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.

            tscherler 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.
            tscherler Thorsten Scherler made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            danielbeck 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.

            danielbeck 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.
            jamesdumay James Dumay made changes -
            Sprint iapetus, 1.0, Blue Ocean 1.0-rc3, Blue Ocean 1.0-rc4 [ 216, 221, 261, 281 ] iapetus, 1.0, Blue Ocean 1.0-rc3, Blue Ocean 1.0-rc4, Blue Ocean - techdebt sprint 1 [ 216, 221, 261, 281, 291 ]
            michaelneale Michael Neale made changes -
            Sprint iapetus, 1.0, Blue Ocean 1.0-rc3, Blue Ocean 1.0-rc4, Blue Ocean - 1.1-beta-1 [ 216, 221, 261, 281, 291 ] iapetus, 1.0, Blue Ocean 1.0-rc3, Blue Ocean 1.0-rc4, Blue Ocean - 1.1-beta-1, Blue Ocean - 1.1-beta2 [ 216, 221, 261, 281, 291, 306 ]
            jamesdumay James Dumay added a comment -

            Will be released in Blue Ocean 1.1

            jamesdumay James Dumay added a comment - Will be released in Blue Ocean 1.1
            jamesdumay James Dumay made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]

            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.

            tsniatowski 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.
            michaelneale 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)

            michaelneale 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?

            tsniatowski 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?
            michaelneale 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?)

            michaelneale 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?)
            tscherler Thorsten Scherler made changes -
            Assignee Thorsten Scherler [ tscherler ]
            tsniatowski 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 

            kjpopovbg 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 
            jbriden Jenn Briden made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved: