Only the first interaction with Excluded Files modal actually saves the changes to disk

Steps to reproduce

  1. Add files to Excluded Files in File and links
  2. Reload the Obsidian library
  3. Add new ignored files
  4. Reload the Obsidian library
  5. Find that the ignored files have not changed

Did you follow the [troubleshooting guide]

Yes

Expected result

In the second attempt, can successfully change the files to be ignored.

Actual result

Only the first time can the ignore files be changed; after reloading, they cannot be changed unless all previously added files are removed and re-added.

Environment

SYSTEM INFO:
Obsidian version: v1.8.0
Installer version: v1.6.7
Operating system: Darwin Kernel Version 24.2.0: Fri Dec 6 19:01:59 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6000 24.2.0
Login status: logged in
Language: en
Catalyst license: vip
Insider build toggle: on
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

https://imgur.com/a/hHDH56A

You are working in the Sandbox vault.

This is a special default vault that gets reset. It’s used for tests and learning.

You’re going to have to make your own vault and save it somewhere.

(Unless you were just using the Sandbox for the report? But in this case, this would be a bug you’d need to demonstrate in a permanent vault.)

The command that you are running is called “Reload app without saving”.
Can you make this bug happen without it?

I found another bug that has nothing to do with this though.

I found this bug in my permanent vault, and the demonstration in the Sandbox is to rule out the influence of plugins, CSS, and other factors.

1 Like

If I do not use “Reload app without saving,” and directly close Obsidian and reopen it, I still cannot change the ignore files. I checked the app.json file, and the “userIgnoreFilters” in the file do not change with my operations in Obsidian.
If you need more information, please tell me.

Never mind, I think i was able to reproduce something. Renamed this thread.

Obsidian_km66kr7Qd6

will be fixed 1.8.1