alangrainger / obsidian-lazy-plugins

Load plugins with a delay on Obsidian startup, so that you can get your app startup down into the sub-second loading time.
MIT License
218 stars 1 forks source link

[Bug] Tasks plugin not cover all function when Lazy plugin loader enable #8

Closed l2eused closed 2 months ago

l2eused commented 2 months ago

In normally, with Tasks plugin and Kanban plugin.

When tick checkbox or move card to completed list in kanban board. Tasks will add completed date (if enable) to a checkbox/card.

When Lazy plugin loader plugin enable, that feature is missing even I set Tasks and Kanban plugin as instant load.

This didn't occer in previous version. Maybe version that when enable plugin loader debugging, it will show all plugins that enable plus lazy plugin. (In this version it only shows lazy plugin not instant load plugin)

alangrainger commented 2 months ago

Thanks @l2eused - I can replicate the issue. To resolve it I have reverted the change suggested by Obsidian team here.

If you upgrade to 1.0.13 and set Kanban and Tasks to Instant, it will now work correctly.

(For future reference, I can confirm the loading the plugins with any other method causes the completed date to not function. The order of loading the plugins doesn't matter either.)

alangrainger commented 2 months ago

You are right, I can see there is something strange about the combination of those two plugins. The kanban plug-in does indeed appear to the load instantly, even if you have in set to be a delay. I will keep diagnosing this.

l2eused commented 2 months ago

You are right, I can see there is something strange about the combination of those two plugins. The kanban plug-in does indeed appear to the load instantly, even if you have in set to be a delay. I will keep diagnosing this.

I don't think it's only kanban tbh... it's seems all of plugin is instant load no matter what delay it is.

edited: the version that's worked for me is 1.0.10 version.

alangrainger commented 2 months ago

Should be fixed now in 1.0.15. It was a missing setting being undefined and causing all plugins to instantly start.

l2eused commented 2 months ago

yeah, it already fix! Thanks ❤️