breadcrumbs icon indicating copy to clipboard operation
breadcrumbs copied to clipboard

Bug: Incompatible with Obsidian 1.7.2

Open liamcain opened this issue 5 months ago • 9 comments

Starting in Obsidian 1.7.2, we are now properly ensuring that plugins load in series. This means that onload is now awaited. The issue is that in Breadcrumbs v3 (the current public version), your onload function awaits waitForCache. From what I can tell, this waits until Dataview has fully loaded. Since we are now awaiting the plugin onload(), this means Dataview won't finish loading until Breadcrumbs finishes loading. This causes a deadlock in Obsidian's loading sequence. This await should not be within the plugin onload. Instead, you should wrap this in onLayoutReady and perform the polling in the background.

liamcain avatar Sep 19 '24 19:09 liamcain