Skip to content
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

Iconize does not translate strings when a file is started by Obsidian (like with Homepage Plugin) #486

Open
namtrah opened this issue May 13, 2024 · 1 comment
Labels
bug Something isn't working other-plugins Something about the integration with other plugins.

Comments

@namtrah
Copy link

namtrah commented May 13, 2024

Describe the bug
It seems when I try to use icons from the Iconize plugin that they are not active when Homepage opens its marked Note at startup. 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
    • Examples
      • :FasChartColumn:
      • :FasBrain:
      • :FasMemory:
      • :FasVideo:
      • :FasRecycle:
  4. Reload Obsidian to see that these icons are still text strings and not replaced by Iconize.

Expected behavior
When Homepage opens its file, I expect that Iconize will refresh the icons used without requiring my to manually interject.

Additional context
According to novov (author of Homepage), this seems to be an error with Iconize. "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."

@FlorianWoelki FlorianWoelki added bug Something isn't working other-plugins Something about the integration with other plugins. labels May 25, 2024
@onnyyonn
Copy link

onnyyonn commented Aug 9, 2024

Facing the same issue. I believe that this is not related to other plugins, and #368 is related. Also, this bug doesn't seem to affect the lucide icon pack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working other-plugins Something about the integration with other plugins.
Projects
Status: No status
Development

No branches or pull requests

3 participants