Dragging files is extremely slow
Hello author, the file dragging in the file list under the border theme is extremely slow. After screening, it seems to be related to the automatic hiding code. I am not a programmer and I am no longer able to solve it. Could you please handle this problem?
The theme seems to have a conflict with a considerable number of plugins, I tried to troubleshoot the error, the effect is that every time a specific plugin is discharged, the phenomenon of drag lag is alleviated a little, but some other plugins are closed without effect, the number of plugins with such a mitigating effect is not simply a few, and I can also completely solve the problem of drag and drop lag, I guess there is a conflict between the code of the theme automatically hides part of the code and these plugins.
Here are all my plugins:
The theme seems to have a conflict with a considerable number of plugins, I tried to troubleshoot the error, the effect is that every time a specific plugin is discharged, the phenomenon of drag lag is alleviated a little, but some other plugins are closed without effect, the number of plugins with such a mitigating effect is not simply a few, and I can also completely solve the problem of drag and drop lag, I guess there is a conflict between the code of the theme automatically hides part of the code and these plugins. Here are all my plugins:
It has nothing to do with any plugins as far as I can see
I can replicate this behavior in a clean sandbox vault
Repliced in a entirely new vault
Repliced in a completely new vault
Yes, but it consumes a lot of performance when there are too many notes😭
- After investigation, it was determined that the issue is caused by the colored folder feature. Other themes that include this feature, such as AnuPpuccin, exhibit the same problem.
- This feature has been around for over two years, so it is likely that a recent Obsidian update has introduced a conflict, leading to performance issues.
- Unfortunately, resolving this issue requires manually removing the relevant section of code from the CSS file, as shown below:
I have found that even after removing the segment of code, I still am having the issue even if I am in restricted mode. I should note that I only seem to experience the issue on Windows as on my Macbook running the exact same plugins and theme settings I show no issues other than very slight choppiness which could honestly be chalked up to other things than this.
I might be able to provide with a performance snapshot from both systems if desired, but I'll let you judge if you need that.
https://github.com/Akifyss/obsidian-border/issues/488 你是遇到了和我同样的问题吗? Are you experiencing the same problem as me?
The theme seems to have a conflict with a considerable number of plugins, I tried to troubleshoot the error, the effect is that every time a specific plugin is discharged, the phenomenon of drag lag is alleviated a little, but some other plugins are closed without effect, the number of plugins with such a mitigating effect is not simply a few, and I can also completely solve the problem of drag and drop lag, I guess there is a conflict between the code of the theme automatically hides part of the code and these plugins. Here are all my plugins:
我发现关掉一些插件确实会有一点点的好转。但是在一个全新的沙盒里,我只安装border主题(仅仅是安装主题的操作),拖动文件或者文件夹就开始卡顿。 I found that turning off some plugins does lead to a slight improvement. However, in a brand new sandbox, I only installed the Border theme (just the act of installing the theme), and dragging files or folders already starts to lag.
- 经过调查,确定该问题是由彩色文件夹功能引起的。包含此功能的其他主题,例如 AnuPpuccin,也表现出相同的问题。
- 此功能已经存在了两年多,因此最近的 Obsidian 更新很可能引入了冲突,导致性能问题。
- 不幸的是,解决此问题需要手动从 CSS 文件中删除相关代码部分,如下所示:
![]()
意思是说,就算我不开启彩虹文件夹的功能,只要代码还在就会发生卡顿是吗? So you mean that even if I don't enable the rainbow folder feature, as long as the code is still there, lag will occur?
I've put the above mentioned lines in a comment block and my first impression is the latency in dragging element is gone. I dont' use colored folders so it is not an issue for me.
I'll keep an eye on this point in order to verify if it is the culprint.
I've put the above mentioned lines in a comment block and my first impression is the latency in dragging element is gone. I dont' use colored folders so it is not an issue for me.
I'll keep an eye on this point in order to verify if it is the culprint.
Are you referring to the .obsidian\themes\Border\theme.css file?
I've tried removing that entire code block from there but I still have the exact same lag as before. Not sure if I'm missing something here

