Nested tags won't stay collapsed in sidebar

Steps to reproduce

  1. Open a note in a vault and add different tags including nested tags (eg. #tag, #tag2, #a/tag1, #a/tag2, #b/tag1, #b/tag2, #c/tag1)
  2. Open the right sidebar and open the Tags panel
  3. Click “Show Nested Tags” (Sort doesn’t seem to matter - I had it set from A-Z)
  4. Click “Collapse All”
  5. Optionally expand one or more tag groups, leaving the others collapsed
  6. Begin writing in the note with the sidebar open

Expected result

Any collapsed tag groups stay collapsed as you type

Actual result

Within less than 3 seconds of typing, all of the tag groups in the sidebar expand

Did you follow the troubleshooting guide?

Y - reproducible in Sandbox vault

Environment

SYSTEM INFO:
	Obsidian version: v1.5.3
	Installer version: v1.5.3
	Operating system: Darwin Kernel Version 23.2.0: Wed Nov 15 21:53:34 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T8103 23.2.0
	Login status: not logged in
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 1
	Restricted mode: off
	Plugins installed: 22
	Plugins enabled: 19
		1: Natural Language Dates v0.6.2
		2: Footnote Shortcut v0.1.3
		3: Advanced Tables v0.20.0
		4: Paste URL into selection v1.7.0
		5: Dataview v0.5.64
		6: Hotkeys for templates v1.4.3
		7: Folder Note v0.7.3
		8: Highlightr v1.2.2
		9: Readwise Official v2.0.1
		10: List Callouts v1.2.0
		11: Task Marker v0.5.1
		12: Archiver v0.26.1
		13: Tab Switcher v1.4.0
		14: Periodic Notes v0.0.17
		15: Daily Note Outline v1.4.1
		16: Hotkeys++ v0.2.7
		17: Iconize v2.10.0
		18: Tasks v6.0.0
		19: Tag Wrangler v0.6.1

Additional information

I have 8 parent tags with many nested tags in each (most groups have enough tags so that if only one is expanded, the sidebar will scroll). I had one of the bottom parent tags in the list expanded so I could reference it as I typed, which is when I noticed the issue that the other parent tag groups won’t stay collapsed. I am able to reproduce the issue in Sandbox where all parent tags expand. Interestingly, in my vault, only two specific parent tags expand regardless of the sort applied.

2 Likes

For me, this also affects the “Outline” panel.

Steps to reproduce

  1. Open a note in a vault with different headings
  2. Open the right sidebar and open the Outline panel
  3. Click “Collapse all”
  4. Add a new headline in the note with the sidebar open OR change to another open tab and return to the original tab

Expected result

Any collapsed outline stays collapsed as you type or return.

Actual result

Within some seconds of typing or on return from another tab, the outline in the sidebar is fully expanded.

Environment

SYSTEM INFO:
Obsidian version: v1.5.3
Installer version: v1.4.13
Operating system: Darwin Kernel Version 23.2.0: Wed Nov 15 21:59:33 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T8112 23.2.0
Login status: not logged in
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 4
Plugins enabled: 4
1: ReadItLater v0.3.1
2: Clear Unused Images v1.1.0
3: Consistent Attachments and Links v1.0.9
4: Dataview v0.5.61

Let me know if this happens in 1.5.4

I just updated to 1.5.8 and the behavior reported by me still happens.

Download and reinstall obsidian. Post a screen recording of this happening in the sandbox vault. Thanks!

Reinstall done. Here’s the updated debug info from the sandbox:


SYSTEM INFO:
Obsidian version: v1.5.8
Installer version: v1.5.8
Operating system: Darwin Kernel Version 23.3.0: Wed Dec 20 21:33:31 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T8112 23.3.0
Login status: not logged in
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


And here’s the screen recording you requested: Dropbox - sidebar-collapse-1.5.8.mov - Simplify your life

HTH.

that’s not the tags, that’s the outline pane. Search for another bug report.

Yes, what I amended here on Jan 21 to darnocer’s report about the tags affects the outline pane. The way I see it, it’s the same behavior, but a different panel. That’s why I simply added it here instead of opening a new, dedicated bug report. But sure, I can create a new bug report.

ok, no need, follow here:

1 Like