obsidian-iconize
obsidian-iconize copied to clipboard
Icon sets multiplying
Describe the bug With time, the installed icon sets get multiplied in the backend: on the plugin settings screen there's a long list of repeating list items, and the icon selector dialog itself lists the same icons multiple times.
To Reproduce Steps to reproduce the behavior:
- Install the Box Icons and Simple Icons sets
- Use the plugin - add icons to various Obsidian UI elements, folders etc.
- With time, you'll see that
- the icon selector dialog loads slower and slower
- the same icon selector dialog lists same icons multiple times - more and more times, probably depeding on how many times the dialog has been used
- the plugin's settings screen show a long list of two items repeating over and over again
OS: Windows 11
are the icons duplicated in the icons folder? i.e. /.obsidian/icons
Funny thing is that the icon files themselves are not duplicated.
The path is .obsidian/icons/
, and when I check in, I see the two icons folders, and the two zipped packages the plugin downloaded and unpacked.
There's no problem with the number of icon files within the icon folders either.
The issue only persists in the Obsidian UI
- on the plugin settings screen
- in the icon selector popup which gradually becomes unusably slow because of the multiple clones/duplicates.
Just want to add that when you attempt to remove a duplicate, both instances disappear from settings and the files themselves are deleted from <vaultname>/.obsidian/icons
.
Also, I noticed that when adding an icon set via the file system as opposed to settings (i.e. close Obsidian, place a zip file into <vaultname>/.obsidian/icons
, relaunch Obsidian) the same settings duplicate issue occurs.