Relative Folder/A.md should be taken precedence when resolving absolute vs relative path collisions.
Actual result
Root A.md is resolved as a link.
Environment
SYSTEM INFO:
Obsidian version: v1.4.16
Installer version: v1.4.13
Operating system: Windows 10 Pro 10.0.22621
Login status: logged in
Catalyst license: insider
Insider build toggle: on
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Additional information
There exists a workaround to explicitly specify the type of the links
[[/A|A]] and [A](/A.md) resolve as absolute link path
[[./A|A]] and [A](./A.md) resolve as relative link path
However such workaround has its own issues, and it’s better for it to be addressed on the Obsidian dev level
This is not a bug. it’s intentional. Otherwise, where [[A]] points to depends on which file it is contained. We don’t want that. We want [[A]] to point to the same note across the vault.
In other words, we don’t want [[A]] to point to one note if it is contained in Folder1/Note1.md and to another note if it contained in Folder2/Note2.md.
No, a link to [[A]] in that note still resolves to A.md in the root.
What if we consider this not as a bug but as a feature request to add a configuration setting? By its nature markdown built to use relative paths, so while Obsidian team prefers the absolute paths by default, I think it would be very handy to give a setting to switch to relative-first approach. Or even disabling absolute path resolution completely