kelszo / obsidian-file-explorer-plus

A plugin for https://obsidian.md, which enables the ability to hide and pin specific files and folders in the file explorer by applying custom filters.
GNU Affero General Public License v3.0
60 stars 3 forks source link

Every time Obsidian is restarted, the hidden effects that have been pre-set will be invalidated #10

Closed DanShui-Yu closed 7 months ago

DanShui-Yu commented 8 months ago

What happened?

The hidden effects will only take effect after closing and reopening the plugin. I have tested that this bug is unrelated to whether the Custom File Explorer Sorting plugin is enabled or not.

What did you expect to happen?

The hidden effects are automatically applied when Obsidian starts up.

Can you reproduce the bug, if so how? As detailed but minimal as possible.

yes

Other?

No response

Plugin version

1.1.4

Obsidian version

1.5.8

OS

Windows

kelszo commented 8 months ago

Can you please specify more, it works for me

DanShui-Yu commented 8 months ago

Specify… what?

I have only one hidden setting

image

Everytime I opened my PC and then Obsidian, the .edtz files are all occured in my file list again. The hidden effects will only take effect after closing and reopening the plugin.

DanShui-Yu commented 8 months ago

Specify… what?

I have only one hidden setting

image

Everytime I opened my PC and then Obsidian, the .edtz files are all occured in my file list again. The hidden effects will only take effect after closing and reopening the plugin.

kelszo commented 8 months ago

I can’t replicate this, but to me it seems like a race condition between plugins. What plugins do you have installed?

DanShui-Yu commented 8 months ago

image

kelszo commented 8 months ago

This is, with 99% chance, due to a conflict with one of the other plugins.

I would try to see if only having this plugin activated fixes it. You can try in a completely different vault.

kelszo commented 7 months ago

Closing due to no update. Can't replicate. If you succeed in replicating this in an empty workspace please re-open

DanShui-Yu commented 7 months ago

I used the binary search method to troubleshoot, shutting down all plugins and then turning them back on in batches, and the bug did not occur during the process. I also tried to disable all plugins en masse and then re-enable them, but the bug still did not appear. However, when I kept other plugins enabled and restarted File Explorer++ alone and then restarted Obsidian, the bug reappeared; restarting File Explorer++ and then one or two other plugins, the bug still occurred, but it was resolved again when I restarted all plugins.