Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Marker Names Don’t Update When Linked .md File’s Name Updates #411

Open
3 of 7 tasks
candyapplecorn opened this issue Jul 26, 2023 · 1 comment
Open
3 of 7 tasks
Assignees
Labels
Type: Bug A problem with existing functionality.

Comments

@candyapplecorn
Copy link

candyapplecorn commented Jul 26, 2023

Check for existing bug reports before submitting.

  • I searched for existing Bug Reports and found no similar reports.

Expected Behavior

When the user changes the name of a mark down file in the Obsidian vault, if that mark down file is used in a marker, then the name of the file in the marker should update to the new name of the file.

Current behaviour

When the user puts a file into a marker, and then changes the name of the file by opening the file, and changing its name at the top of the file, then, when the user goes back to the map, and looks at the marker, the marker will still be for the original file name, and not the updated file name.

Reproduction

  1. In obsidian, with leaflet, add a marker to a map.
  2. Give the marker a markdown file in the vault
  3. Open that file
  4. Change its name
  5. Go back to the map
  6. Look at the marker; it still has the original file name
  7. Click the marker
  8. Notice you’re now in an empty file with the original file name

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Obsidian Version Check

1.4.6 (105) / API v1.3.5

Plugin Version

5.7.2

Confirmation

  • I have disabled all other plugins and the issue still persists.

Possible solution

Use the events API to subscribe to the file name change event:

https://wanadev.github.io/obsidianjs/obsidian/events.html

@sigrunixia sigrunixia added Type: Bug A problem with existing functionality. and removed bug labels Aug 11, 2023
@Reitsam
Copy link

Reitsam commented May 28, 2024

(Sry I'm not familiar to github customs, so I may not adhere to etiquette)

I'm having the same problem on my laptop.
(I yet have to check by disabling all other plugins though)
But as this is listed as a bug here, I'm hopeful, since that issue makes my thought-after organization so much more troublesome.

Edit: I disabled all other Plugins aswell, and the problem sadly still persisted.
This and the messed up suggestion UI while mark-linking to another Note kinda hold this plugin back quite a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug A problem with existing functionality.
Projects
None yet
Development

No branches or pull requests

4 participants