Tag view drop down icons are not updated correctly sometimes

image

After changing the option of show-nested-tags from false to true, all the drop-down icons will show as v despite the folding states of nested tags remaining the same as configured in the last usage.

I believe the persistence of the folding state is the correct and better behavior (against folding or unfolding all of the tags), so the icon’s behavior is not accurate.

Please include the full bug report template including your environment/debug info. Thanks!

I can’t find a way to edit the original post, so I am posting the template here. Hopefully it helps.

Steps to reproduce

  1. Open a vault or create one, make sure the core plugin Tag View is activated;
  2. create a nested tag by typing something like #tag/1;
  3. open the tag view in the right pane;
  4. enable Show nested tags with the second button in the tag view panel;
  5. if the nested tag is not folded, fold it by clicking on the dropdown icon on the left side (now it looks like a >);
  6. click the Show nested tags twice;
  7. the nested tag just being folded remains folded, but the dropdown icon is in the wrong state (which looks like a v).

Did you follow the troubleshooting guide? Yes

The above steps can all be reproduced in a sandbox vault, which I did myself.

Expected result

The dropdown icon in step 7 for folded tags should be in the > state.

Actual result

All dropdown icons in step 7 will look like v, which normally indicates an unfolded state.

Environment

SYSTEM INFO:
Obsidian version: v1.7.7
Installer version: v1.4.13
Operating system: Windows 10 Pro 10.0.22631
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

An image is provided above.

1 Like

Thanks, that will help the team.

Thanks, this will be fixed in the next update.