mirnovov / obsidian-homepage

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

Homepage 3.7.0 does not work with Obsidian 1.5.6 #79

Closed Cito closed 9 months ago

Cito commented 9 months ago

Details

Details

After updating to Homepage 3.7.0 and Obsidian 1.5.6, the plugin doesn't seem to work any more.

Steps to reproduce

Debug information

Tested on Windows 11 and Obsidian 1.5.6.

Checklist

mirnovov commented 9 months ago

Still works for me. Can you send your debug information using the "copy debug info" button in Homepage's settings button?

Cito commented 9 months ago

Ok, experimented a bit more.

Here is one configuration that doesn't work:

{"version":3,"homepages":{"Main Homepage":{"value":"Notes/Heimasíðu","kind":"File","openOnStartup":true,"openMode":"Replace all open notes","manualOpenMode":"Keep open notes","view":"Default view","revertView":true,"openWhenEmpty":false,"refreshDataview":false,"autoCreate":true,"autoScroll":false,"pin":false,"commands":[],"alwaysApply":false,"hideReleaseNotes":false}},"separateMobile":false,"_defaultViewMode":"source","_livePreview":true,"_focusNewTab":"default","_plugins":["homepage"],"_internalPlugins":["file-explorer","global-search","switcher","graph","backlink","canvas","outgoing-link","tag-pane","properties","page-preview","daily-notes","templates","note-composer","command-palette","editor-status","bookmarks","outline","word-count","slides","workspaces","file-recovery","sync"],"_obsidianVersion":"1.5.6"}

And I think I already know what causes the problem for me: It seems to be caused by the non-ascii name of the homepage.

But here is another configuration that does not work for me under Windows 11:

{"version":3,"homepages":{"Main Homepage":{"value":"Home","kind":"Workspace","openOnStartup":true,"openMode":"Replace all open notes","manualOpenMode":"Keep open notes","view":"Default view","revertView":true,"openWhenEmpty":false,"refreshDataview":false,"autoCreate":true,"autoScroll":false,"pin":false,"commands":[],"alwaysApply":false,"hideReleaseNotes":false}},"separateMobile":false,"_defaultViewMode":"source","_livePreview":true,"_focusNewTab":"default","_plugins":["homepage"],"_internalPlugins":["file-explorer","global-search","switcher","graph","backlink","canvas","outgoing-link","tag-pane","properties","page-preview","daily-notes","templates","note-composer","command-palette","editor-status","bookmarks","outline","word-count","slides","workspaces","file-recovery","sync"],"_obsidianVersion":"1.5.6"}

This could be a regression of #53.

Any yet another configuration that does not work for me under Windows 11, with daily notes:

{"version":3,"homepages":{"Main Homepage":{"value":"Home","kind":"Daily Note","openOnStartup":true,"openMode":"Replace all open notes","manualOpenMode":"Keep open notes","view":"Default view","revertView":true,"openWhenEmpty":false,"refreshDataview":false,"autoCreate":true,"autoScroll":false,"pin":false,"commands":[],"alwaysApply":false,"hideReleaseNotes":false}},"separateMobile":false,"_defaultViewMode":"source","_livePreview":true,"_focusNewTab":"default","_plugins":["homepage"],"_internalPlugins":["file-explorer","global-search","switcher","graph","backlink","canvas","outgoing-link","tag-pane","properties","page-preview","daily-notes","templates","note-composer","command-palette","editor-status","bookmarks","outline","word-count","slides","workspaces","file-recovery","sync"],"_obsidianVersion":"1.5.6"}
Cito commented 9 months ago

Now tested on MacOS, too. There, everything works. Although I'm using the same version of Obsidian and Obsidian installer.

Cito commented 9 months ago

Tested again after re-installing Obsidian using the latest version of the installer (1.5.3, I had used 1.4.13 before). Now all the 3 problematic cases work as expected under Windows.

Cito commented 9 months ago

Actually, I now see that it does not work when using jumplists (i.e. direct links to a certain vault in the taskbar) on Windows. Maybe that was the main problem here. Doesn't work, no matter how I set the switch "use when open normally". When I start Obsidian normally (using the main taskbar icon) it works.