Source mode: File properties panel automatically opens when accessing notes from search results

Steps to reproduce

  1. Open a sandbox vault
  2. Create a note with a tag “test” in frontmatter (“tags: test”)
  3. Set “Properties in document” to either “Source” or “Hidden” (Settings → Editor → Properties in document)
  4. Enable “Properties view” (Settings → Core plugins → Properties view)
  5. Search for “tag:test”
  6. Click on the search result to open the test note

Did you follow the troubleshooting guide? Y

Expected result

The note should open without the properties view appearing on the right panel.

Actual result

Both the note and the properties view on the right panel open automatically.

Environment

SYSTEM INFO:
Obsidian version: v1.6.7
Installer version: v1.4.13
Operating system: Darwin Kernel Version 23.5.0: Wed May 1 20:14:38 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6020 23.5.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


Additional information

This issue was initially discussed in this help post: How to prevent File properties panel from opening automatically? - #3 by YoungL

Note: The behaviour doesn’t occur when “Properties in document” is set to “Visible”.

This issue is actually much less severe than I originally thought. It only applies to two specific search queries: tag: and [property]. See my example below.

my test note.md:

---
tags: test
my_property: test-value
---

Search query 1: test-value <–– not affected by this issue
Search query 2: ["my_property"]
Search query 3: tag:test

Proposed solution: none really because the user has opted for properties view and this issue is related to properties search, not search in general.

Ok, we will change the behavior for source. Hidden will remain the same.

1 Like

this was changed in 1.7.1