Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-6377

Aggregation pipeline editor automatically scrolls pipeline out of view

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.37.0
    • Affects Version/s: 1.35.0
    • Component/s: Aggregation pipeline
    • Environment:
      Mac OS X, Compass 1.34.1.
    • Not Needed

      Problem Statement/Rationale

      While editing big pipeline, it is convenient to stretch edit frame, extending it to the right, while keeping auto-preview smaller.

      When it is done, editor automatically scroll pipeline code to the right, hiding the left side, even if the window is stretched enough to fit everything.

       

      Steps to Reproduce

      1. Open pipeline editor
      2. Stretch text edit window to the right
      3. Enter a large line of characters.
      4. Use horizontal scrolling to scroll it to the left to the start of the screen
      5. Move editing cursor to the right.

      Expected Results

      Window stays the same, showing the whole line of code.

      Actual Results

      Window scrolls horizontally to hide the start of the line.

      Additional Notes

      Reproduction video is attached

        1. Screen Recording 2022-12-15 at 16.57.26.mov
          894 kB
          Ivan Fefer
        2. Screen Recording 2022-12-15 at 16.57.26-1.mov
          894 kB
          Maurizio Casimirri

            Assignee:
            Unassigned Unassigned
            Reporter:
            ivan.fefer@mongodb.com Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: