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

            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: