mirnovov/obsidian-homepage

Homepage 3.7.0 does not work with Obsidian 1.5.6

Cito opened this issue · 5 comments

Cito commented

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

  • Install plugin
  • Under settings, select Note A
  • Check "Open on Startup"
  • Open Note B
  • Restart
  • Note B opens instead of Note A

Debug information

Tested on Windows 11 and Obsidian 1.5.6.

Checklist

  • I updated to the latest version of the plugin.

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

Cito commented

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

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

Cito commented

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

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.