I’m developing a plugin. When I execute >Daily notes:open today's daily note, the file-open event doesn’t fire. Strangely, executing >Daily notes:open previous daily note and >Daily notes:open next daily note does trigger the file-open event.
I believe that >Daily notes:open today's daily note should also trigger file-open. Has anyone else encountered this issue?
I’m still encountering this issue when using version 1.8.6.
When I run >Daily notes:open today's daily note for the first time, the file-open event is triggered. However, once today’s daily note is open, running the same command again does not trigger the file-open event.
I have a plugin that updates tab titles (see this link). On the first attempt, the tab title is updated via the file-open event, but this only occurs with the first execution of >Daily notes:open today's daily note. If I run the command again I’m on the today’s daily note, the tab title does not update because the file-open event is not triggered.
Is this behavior expected? If so, is there any workaround?
I’m not sure I understand the problem. If you run “open today’s daily note” and the daily note is already open, nothing will happen. So I wouldn’t expect a file-open event to fire.