snezhig / obsidian-front-matter-title

Plugin for Obsidian.md
GNU General Public License v3.0
248 stars 19 forks source link

Files view not updated on paste #89

Closed haroldship closed 1 year ago

haroldship commented 1 year ago

When I copy/paste a title from (for example) the 'alias' field, the files view is not updated and still shows the actual filename. If I close/reopen the note, it still does not update.

After I make a change to the pasted title it updates ok.

Also occurs if I create the note on my iPhone. I use iCloud synchronization.

snezhig commented 1 year ago

Do you use macOs? I have heard that plugin has some problem with this platform.

haroldship commented 1 year ago

Yes, I use MacOS Ventura 13.1 on a Macbook Pro 2016 (intel).

snezhig commented 1 year ago

Okay, I will try to find out the problem.

snezhig commented 1 year ago

@haroldship did you mean that plugin does not work in case you rename a file?

haroldship commented 1 year ago

No, I don't rename a file. I use the "Unique file" plugin which used to be the Zettelkasten plugin. The filenames are generated according to the pattern YYYYMMDDhhmmss. I have a note header with alias, title and a few other things. I usually put the logical title in the alias, then copy/paste to the title. This used to work all the time. Lately I upgraded all my plugins, and now the filename of the new file in the Files area still looks like the actual filename and not the title. If I edit the title field, even a little bit, then the Files area gets updated.

On Mon, Jan 30, 2023 at 12:03 PM snezhig @.***> wrote:

@haroldship https://github.com/haroldship did you mean that plugin does not work in case you rename a file?

— Reply to this email directly, view it on GitHub https://github.com/snezhig/obsidian-front-matter-title/issues/89#issuecomment-1408320680, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4XJ73BQ6I2TGXZY4OTCXLWU6GYJANCNFSM6AAAAAAUK274H4 . You are receiving this because you were mentioned.Message ID: @.***>

snezhig commented 1 year ago

Could you record a short video? I tried to copy something it meta block and plugin works correctly.

haroldship commented 1 year ago

Not exactly as I said, but you can see that when I move the file, it's name in Files view reverts until I change it.

https://user-images.githubusercontent.com/3765503/215714444-e0bf1f98-4dcf-42a3-bf8b-11e2e60496f5.mov

snezhig commented 1 year ago

Do you use 2.9.4 version? I released it yesterday. Could you update, please, and try again? If the problem reproduces, let me know.

haroldship commented 1 year ago

It seems ok with 2.9.4

Get Outlook for iOShttps://aka.ms/o0ukef


From: snezhig @.> Sent: Tuesday, January 31, 2023 12:48:51 PM To: snezhig/obsidian-front-matter-title @.> Cc: Harold Ship @.>; Mention @.> Subject: Re: [snezhig/obsidian-front-matter-title] Files view not updated on paste (Issue #89)

Do you use 2.9.4 version? I released it yesterday. Could you update, please, and try again? If the problem reproduces, let me know.

— Reply to this email directly, view it on GitHubhttps://github.com/snezhig/obsidian-front-matter-title/issues/89#issuecomment-1410139484, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA4XJ74AOLPRJJQW2MU3JALWVDUZHANCNFSM6AAAAAAUK274H4. You are receiving this because you were mentioned.Message ID: @.***>

snezhig commented 1 year ago

So, I'm going to close this issue. Feel free to reopen it or create a new one.