Documents counter in tab header is not updated

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.46.2
    • Component/s: None
    • Environment:
      OS: macOS 15.5
    • None
    • None
    • Developer Tools

      Problem Statement/Rationale

      When viewing the documents of a collection, and clicking the refresh documents icon, the counter in the header is not updating

      Please be sure to attach relevant logs with any sensitive data redacted.
      compass-log.txt

      Steps to Reproduce

      1. Create a new collection, and let Compass show the documents tab of that collection
      2. Add a document or two to it via MongoDB shell or other means, except Compass UI.
      3. Click the refresh documents icon

      Expected Results

      The number of documents both in the tab header and near the refresh icon are updated

      Actual Results

      Only the number of documents near the refresh icon is updated. The number in the tab header is not.

      Additional Notes

      This does not happen when inserting documents via the Compass UI directly.

        1. compass-log.txt
          5 kB
          Boris Figovsky
        2. image-2025-06-02-13-12-53-199.png
          109 kB
          Boris Figovsky

            Assignee:
            Unassigned
            Reporter:
            Boris Figovsky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: