Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-5630

Pod terminal: second scrollbar is shown when user resizes the window

XMLWordPrintable

    • ODC Sprint 203, ODC Sprint 204, ODC Sprint 205
    • Low

      Description of problem:

      When using the terminal to show some information the "Terminal" tab for a Pod shows sometimes two scrollbars.

      The second scrollbar is shown when the console contains some output and the window size is reduced. The scrollbar disappears again when the user enters something into the terminal.

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. Switch to developer perspective and add a Deployment to start a Pod
      2. Select your deployment in topology and select the running Pod
      3. On the Pod details page switch to the "Terminal" tab
      4. Run a command like find . or find / to show some (long) content.
      5. Reduce the height of the window

      Actual results:

      1. You can see a second unnecessary scrollbar for the complete content area
      2. If you type something again into the terminal the scrollbar disappear again

      Expected results:

      1. No scrollbar is shown when the user resizes the window.

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      1. Latest 4.8 console master (tested with 4c443747272cd262ebc0e8d35491a0363af3c02c)

      Additional info:

      This problem appears after we update xterm library from 3.12 to 4.10 (ODC-5547, PR 8260).

              cjerolim Christoph Jerolimov
              cjerolim Christoph Jerolimov
              Gajanan More Gajanan More (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: