Steps to reproduce
- In the sandbox, enable web viewer and bookmarks
- Open the web viewer and navigate to a page (e.g. obsidian.md)
- Bookmark the page
- Bookmark a note
- Try dragging each bookmark to various locations
- Try ctrl-click, ctrl-alt-shift click, etc.
Did you follow the troubleshooting guide? [Y/N]
Y
Expected result
Both bookmarks should be able to be dropped:
- On a tab or view header to open in that pane
- As a new tab or pane
- Into a note to place a text link
- Into another app as a link
Both bookmarks should be able to be opened by clicking:
- In the same tab, a new tab, a new pane, or a new window
Actual result
Web bookmarks open in a new tab, always, regardless of mod keys, even when the active leaf is a web viewer. They cannot be opened in the same tab, a new pane, or a new window using Obsidian-standard modifier keys.
When dragging a web link, it cannot be dropped anywhere except the location field of an open web view – where it results in the name of the bookmark being added to the end of the existing URL, rather than inserting the new URL and/or navigating to it.
Web links also render while dropping as if they can be dropped into notes, but nothing actually appears in the text when dropped (vs. inserting external link text, as would be expected).
When dropped in other apps, all bookmarks paste the name of the bookmark, instead of a URL or link.
(I would expect an obsidian: URI in case of a note bookmark, and for both to use standard Windows drag-drop data types for a bookmark used by other browsers - i.e. a url list type, a plain text type with either a markdown link or plain URL, and an html variant with <a href. But these issues are more about consistency with platform-specific drag-drop conventions than internal Obsidian consistency between bookmark types.)
Environment
SYSTEM INFO:
Obsidian version: v1.10.6
Installer version: v1.10.6
Operating system: Windows 10 Pro 10.0.19045
Login status: logged in
Language: en
Catalyst license: supporter
Insider build toggle: off
Live preview: on
Base theme: light
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Additional information
These limitations make it difficult to use bookmarks with the web viewer in popout windows (or at all), since you can’t drag them anywhere, pick where to open them, etc. You have to click the bookmark and then either move the tab or copy/paste the URL. (But you can’t even copy the URL from the bookmark!)
There is also no way to open a bookmark (or any external link) in the web viewer if you’ve turned off the “open external links” setting in the web viewer settings. The context menu for external links (which incidentally does not appear when right-clicking web bookmarks), does not provide an option to open in the web viewer.
So you can either have everything open in the web viewer by default, with the possibility of opening a few links specifically in your browser, or you can turn off the option and have the web viewer become largly useless, because you have to always manually enter or copy and paste URLs to use it. (And you can’t do that from bookmarks, or drag and drop the bookmarks!)
It would help a lot if:
- Bookmarks behaved consistently to other Obsidian link behavior (as described above)
- Turning off “open external links” didn’t remove the context menu item for opening links in the web viewer
- Web bookmarks’ context menu included external link menu options, including the ability to open the link in either the web viewer or the external browser, regardless of the “open external links” setting.
Thanks!