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

Attempting to edit an element in a sub-array containing thousands of elements makes Compass app unresponsive

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • 1.26.1
    • Performance
    • None
    • MacOS Catalina 10.15.7, Windows 10.
    • 5

    Description

      Problem Statement/Rationale

      Bad Compass UI performance when woking with documents containing large arrays.

      Steps to Reproduce

      • Create a document containing an array field with a couple thousand string elements:

      {{{}}

        _id: "test",

        arr_field: [

          "elt1", "elt2", ... "elt2000"  

        ]

      }

      • Open the document in Compass
      • Expand the array
      • Scroll to the last element and double-click the value to enter the element editing mode
      • The application UI freezes for significant amount of time (10s of seconds)
      • Same happens when clicking either "Cancel" or "Update" after the app finally unfreezes.

       Expected Results

      Application should not freeze.

      Actual Results

      Application freezes.

      Additional Notes

      Any additional information that may be useful to include.

      Attachments

        Activity

          People

            Unassigned Unassigned
            albertpomor@gmail.com Albert Pomortsev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: