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

cannot stop auto-scrolling in blue ocean console

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • blueocean-plugin
    • None
    • 1.10.2

      When I have console for an active stage open, I see the new messages added real-time to the bottom of the console window, so far so good.

      But if I want to scroll up to see messages printed a couple seconds ago, or scroll up so I can collapse the console window so I can view the pipeline, I'm prevented from doing so because every new log message forces the focus back down to the bottom. In legacy Jenkins, being at the bottom of the window would continue to update, but if the user scrolled up away from the bottom, it would not force focus back down to the bottom with every new message.

      When the messages come quickly, I'm forced to spam the 'home' key on the keyboard to try and jump up to the top and click the 'collapse' icon as quickly as possible, but not usually not quick enough. There should be some standardized way of preventing the auto scroll.

          [JENKINS-55849] cannot stop auto-scrolling in blue ocean console

          Rok Cvahte added a comment - - edited

          I agree with daiscog here. The way it is currently implemented makes it very difficult to read the error without being interrupted by jumps up&down.

          • We are often having to resort to reading console output (text). Which is a shame, because it's not as nicely structured as the BlueOcean view.
          • Would be really nice to have an option to disable this automatic scroll feature.

          Rok Cvahte added a comment - - edited I agree with daiscog here. The way it is currently implemented makes it very difficult to read the error without being interrupted by jumps up&down. We are often having to resort to reading console output (text). Which is a shame, because it's not as nicely structured as the BlueOcean view. Would be really nice to have an option to disable this automatic scroll feature.

          kutzi added a comment -

          I see that it might be difficult to change the default behaviour to a non-auto-scrolling one, but please give us at least an option to turn it off.
          E.g. a system property - would be fine for me.

          kutzi added a comment - I see that it might be difficult to change the default behaviour to a non-auto-scrolling one, but please give us at least an option to turn it off. E.g. a system property - would be fine for me.

          Joshua added a comment -

          Created a jira account to up vote. Seriously... 2019... how has this not been fixed yet? When this bug gets in your way it's really annoying. Maybe you could adjust it so it only auto scrolls if the scroll is at the bottom of the page just before new content is added and causes the page to grow in length.

          Joshua added a comment - Created a jira account to up vote. Seriously... 2019... how has this not been fixed yet? When this bug gets in your way it's really annoying. Maybe you could adjust it so it only auto scrolls if the scroll is at the bottom of the page just before new content is added and causes the page to grow in length.

          Jon Leemon added a comment -

          This still occurs in blue ocean if you have one step waiting for approval, and are trying to review the output of a step higher up.  We have one step that runs terraform plan, and another that asks for approval.  While trying to review the output from plan, it keeps jumping to the bottom every few seconds.  Here is the relevant config snippet:

           

          timeout(time: 1800, unit: 'SECONDS') {
              input message: "Apply Plan?", ok: 'Apply'
              apply = true
          }

          Jon Leemon added a comment - This still occurs in blue ocean if you have one step waiting for approval, and are trying to review the output of a step higher up.  We have one step that runs terraform plan, and another that asks for approval.  While trying to review the output from plan, it keeps jumping to the bottom every few seconds.  Here is the relevant config snippet:   timeout(time: 1800, unit: 'SECONDS' ) { input message: "Apply Plan?" , ok: 'Apply' apply = true }

          Would love to see something to stop this behavior.  When demo'ing our use of Jenkins, either live or recorded, the constant scrolling back to top or to relevant areas of the BO log is painful, distracting, and a few of our high ranking internal customers are complaining "jenkins makes me nauseous."  Upvoted.

          Richard Sandham added a comment - Would love to see something to stop this behavior.  When demo'ing our use of Jenkins, either live or recorded, the constant scrolling back to top or to relevant areas of the BO log is painful, distracting, and a few of our high ranking internal customers are complaining "jenkins makes me nauseous."  Upvoted.

          Mark Robinson added a comment -

          My company wrote a chrome extension to "fix" this problem. It's a huge usability problem, and BlueOcean would be meaningfully improved if this feature was removed entirely.

          Mark Robinson added a comment - My company wrote a chrome extension to "fix" this problem. It's a huge usability problem, and BlueOcean would be meaningfully improved if this feature was removed entirely.

          Avishay added a comment -

          Hi, can please u share this chrome extension?

          thanks in advance

          Avishay added a comment - Hi, can please u share this chrome extension? thanks in advance

          William added a comment -

          I don't know when it changed but the blue ocean console isn't auto-scrolling for my any more! I have v1.25.7 

          William added a comment - I don't know when it changed but the blue ocean console isn't auto-scrolling for my any more! I have v1.25.7 

          Avishay added a comment -

          with blue ocean 1.25.0 the issue still remain...

          Avishay added a comment - with blue ocean 1.25.0 the issue still remain...

          Matej Spiller added a comment -

          I forgot to comment this issue, but I have prepared a PR https://github.com/jenkinsci/blueocean-plugin/pull/2254 around half a year ago and

          it was released in 1.25.5 (but unfortunately missing mention in release notes). Latest 1.27.1 is the latest.

           

          Anyway it works and covered our use case so upgrade if you are using such an old version as 1.25.0.

          Matej Spiller added a comment - I forgot to comment this issue, but I have prepared a PR https://github.com/jenkinsci/blueocean-plugin/pull/2254 around half a year ago and it was released in 1.25.5 (but unfortunately missing mention in release notes). Latest 1.27.1 is the latest.   Anyway it works and covered our use case so upgrade if you are using such an old version as 1.25.0.

            Unassigned Unassigned
            borisivan boris ivan
            Votes:
            21 Vote for this issue
            Watchers:
            26 Start watching this issue

              Created:
              Updated: