Outline tab does not stay collapsed and scrolls while typing (expands, unfolds headings)

I’m still seeing the bug described in this topic, with the Linux AppImage v1.8.4 on KDE:

Since the topic was closed to updates, I’m starting a new one.

Steps to reproduce

  1. Start a new note with the following markdown:

    # Heading 1
    Contents for heading 1
    Contents for heading 1
    ## Heading 2
    
  2. In the Outline pane, collapse Heading 1:

  3. Make any edit, such as deleting a character from the contents of Heading 1:

Did you follow the troubleshooting guide? [Y/N]

Yes

Expected result

The Outline should persist its folded state, at least for the current tab and within the session (ideally between restarts).

Actual result

The Outline expands all headings.

Environment

SYSTEM INFO:
Obsidian version: v1.8.4
Installer version: v1.6.7
Operating system: #1 SMP PREEMPT_DYNAMIC Thu May 2 18:50:49 UTC 2024 6.8.9-100.fc38.x86_64
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 1
Restricted mode: on


Additional information

Screencast available upon request.