mirnovov / obsidian-homepage

An Obsidian plugin that opens a specified note, canvas, or workspace on startup, instead of the most recent one.
MIT License
387 stars 19 forks source link

Interaction with Iconize and Plugin Startup Ordering #86

Closed namtrah closed 5 months ago

namtrah commented 5 months ago

Details

It seems when I try to use icons from the Iconize plugin that they are not active when Homepage opens its marked Note. Only by closing the note and reopening it (whether automatically or manually) will the icons be seen.

I believe this has to do with the ordering of the startup of the plugins. I do not know how to fix this from an Obsidian side (have asked in the Discord), but thought I would also like to make this apparent to you in case you can do some magic to reload after all plugins have been loaded.

Steps to reproduce

  1. Install Homepage and Iconize plugins
  2. Create a Note and mark it as the "Homepage"
  3. In this note use a few Icons from the Iconize plugin
    1. Examples
      • :FasChartColumn:
      • :FasBrain:
      • :FasMemory:
      • :FasVideo:
      • :FasRecycle:
  4. Reload Obsidian to see that these icons are still text strings and not replaced by Iconize.

Debug information

No response

Checklist

mirnovov commented 5 months ago

From my testing, Iconize fails to insert icons with files loaded on startup, even without Homepage. When I disable Homepage, open a file with icons, close Obsidian, and then reopen Obsidian, the icons are not successfully rendered on startup. Only when I open the file again or open another file are the icons rendered.

So unless you can't reproduce this behaviour, this is an issue with Iconize failing to handle files loaded on startup, not Homepage.