PKM-er / Obsidian-Surfing

An Obsidian plugin that lets you browse the web within Obsidian.
MIT License
471 stars 30 forks source link

[Bug]: New Tab overwrites the currently opened tab when plugin is delay-loaded by Plugin Groups #267

Open foliathr opened 3 months ago

foliathr commented 3 months ago

Bug Description

When Surfing is loaded using Plugin Groups after a delay, the plugin will overwrite the currently open tab and replace it with a New Tab panel. The Back button doesn't work to go back to the opened note as the history is not even saved in the back history.

Relevant Screenshot

No response

To Reproduce

  1. Add Surfing to any delayed group in Plugin Groups (and disable Surfing from Community Plugins for it to work)
  2. Restart Obsidian
  3. After restarting Obsidian, when Surfing is loaded the current tab will be replaced with a New Tab.

Obsidian Version

1.6.7 (installer 1.6.7)

web-browser-only

Checklist

foliathr commented 3 months ago

Update: The plugin does that even when not delay-loaded. Even when loading on launch (normal loading), it will replace the most current tab as well with the new tab page.