Description
If you have a base in a note, either through inclusion ![[base.base]] or as codeblock, and said base has links to files (such as the default view, which shows links to every file in your vault): when clicking on the link with the middle mouse button to “open in new tab”, the file gets opened twice.
See also the following report, which indicates a similar issue on “ctrl+click”:
Steps to reproduce
To obtain a note to test with there are two options
Option 1: A codeblock base.
Create a note with following content (e.g. a “default” codeblock base)
```base
```
Option 2: A transcluded base.
Create a new base (rightclick in files, “create new base” / command pallete “new base”), give it the name base and embed it in some note, resulting in:
![[base.base]]
Assuming one of those options have been chosen:
- Open the reading view of the note.
- Middle mouse click any link to a note or attachment that’s shown by default.
Did you follow the troubleshooting guide? [Y]
Expected result
The expected result is that the note/attachment for which the link was clicked gets opened in a new tab once.
Actual result
In reality, it gets opened twice. It should be once.
Environment
SYSTEM INFO:
Obsidian version: v1.10.0
Installer version: v1.8.10
Operating system: Windows 11 Pro 10.0.26100
Login status: logged in
Language: en
Catalyst license: supporter
Insider build toggle: on
Live preview: off
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 0
Plugins enabled: 0
RECOMMENDATIONS:
none