-
Notifications
You must be signed in to 8000 change notification settings - Fork 19
Significant lag when opening or collapsing folders. #33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for the report! If you've already confirmed the theme makes no difference, can you check whether the lag still exists when you disable all other plugins and CSS snippets?
It's related to this observer callback, which refreshes a folder's children when it gains or loses the |
Hey @SandmansDreams, I'm just closing this issue for now because there's not enough info to understand why this slowdown happens for you. If you get time to narrow it down, come and reply here! |
Yea sorry, it happens on both my systems (mac and PC) and is definitely due to this plugin (as disabling it removes the lag) but I have no idea why it happens. Additionally, the more folders with icons it has, the longer it takes to open / collapse at a proportional rate. I did try turning off all plugins and CSS snippets and there is still some lag, though significantly less. If it was at that speed with everything enabled, I likely would not have noticed. Sorry for the late response. |
Sorry about the radio silence - there's just nothing for me to report yet, since my focus has been on finishing a big feature update since October. I'll leave this issue open until I can properly test it with the two plugins you mentioned. (seems like it's a compatibility issue?) Happy new year for now! 🎉 |
No problem, get to it when you have time. Happy new year! |
Hi @SandmansDreams, another contributor put some elbow grease into alleviating this :) The changes are in the code now, and I'll release them as a patch soon with a few other fixes. |
It is as it says. About .5 - 2 second wait before the folder opens or collapses. This seems to be dependent on how many notes are in the folder, but some of these folders are full of only files and no folders or files with icons.
I am a beginner programmer, but if I were to take a guess, it might have something to do with checking the files before the folder opens to see if they have icons assigned or not. No idea why that would lag on collapse tho.
(Also, the icons that look like file icons are provided by the theme, not this plugin. Still have the same issue with that theme disabled.)
(Also also, I have the file color plugin on. I have disabled it and tested without and it seems to be fine as long as the iconic plugin is not enabled.)
The text was updated successfully, but these errors were encountered: