Oliver-Akins / file-hider

A plugin for https://obsidian.md that allows hiding specific files and folders from the file explorer.
MIT License
60 stars 12 forks source link

Files and folders are not hidden until I recharge the plugin manually #12

Open Mara-Li opened 2 years ago

Mara-Li commented 2 years ago

Affected Platforms

iOS, Windows

Expected Behaviour

Selected file are hidden

Actual Behaviour

File are not hidden until I recharge manually the plugin or re-hide the files/folder.

Have you?

Urgency

Mildly Urgent

Oliver-Akins commented 2 years ago

I'm not sure I understand what you mean by "recharge the plugin", is this the toggle switch in the "Community Plugins" tab of the Obsidian settings? Also, what version of the plugin is this on?

Mara-Li commented 2 years ago

Hello ! I use the 1.1.0 version, and you're right : i need to manually unload / load the plugin through obsidian community plugin.

Oliver-Akins commented 2 years ago

Okay, thanks for the info; I'll take a look and see what I can do about it.

SuperTempAccount commented 1 year ago

Hey, I'm experiencing the same issue. A few more details that might help narrow down the issue:

  1. The issue occurs the next day from what I can see (no need to restart Obsidian)
  2. Toggling the hide option is enough to fix the issue for the day (no need to unload/load the plugin) image
  3. The files I'm hiding are on OneDrive

Thanks for making this plugin. It keeps my workplace clean and enjoyable. Best,

Mara-Li commented 1 year ago

Yeah, I continue to have this problem... I prefer to use CSS, it takes one line in my snippet css to hide. At last it keeps to work.

Oliver-Akins commented 1 year ago

Yeah, the way the plugin works is odd, I have been attempting to make it more reliable and am aware of the issues that still happen (at least those that have been mentioned in GH issues), but life's been busy and whatnot so the times I get to work on it aren't super frequent.

(Though I have not forgotten / abandoned this plugin, so it will be updated to fix these issues, I just can't give a solid timeline for said fixes)

callumhackett commented 1 year ago

Just adding that I see this issue also (a file in the root folder is not hidden until the plugin's file visibility status is manually toggled on every restart). Perhaps you could update the readme so it's clear to users that the automated features of the plugin are unavailable? That is the main reason to use it.

Oliver-Akins commented 1 year ago

@callumhackett what version of the plugin are you using? If it's 1.1.0, try updating to 1.1.1 and if the issue still happens let me know.

callumhackett commented 1 year ago

@callumhackett what version of the plugin are you using? If it's 1.1.0, try updating to 1.1.1 and if the issue still happens let me know.

This is version 1.1.1. I did some extra testing and it appears that the issue is persistent on Android but not on Windows. The plugin works manually on Android by toggling the file visibility status but files will appear unhidden on app restart. On Windows, the behaviour is as expected.

Correction: the problem does exist on Windows. It is less persistent (it is not on every restart of the application) but it does happen sometimes. The trigger is unclear.