Obsidian-Daily-Notes-Editor icon indicating copy to clipboard operation
Obsidian-Daily-Notes-Editor copied to clipboard

[Bug]: Only the last couple of days are shown (with workaround)

Open hmijail opened this issue 1 year ago • 15 comments

Bug Description

When I open the plugin's view, only the last couple of days' notes are shown.

Relevant Screenshot

https://github.com/Quorafind/Obsidian-Daily-Notes-Editor/assets/4139546/d67d0c3c-b723-4e95-b94d-7c9120023ef4

To Reproduce

To reproduce just create a couple of short notes in the latest dates and open the plugin's view.

But I think I found the reason and a workaround: if the shown note/s are too short to cause the scrollbar to appear, then no more notes are included in the view.

The workaround then is to change the size of the window momentarily, making it narrow, so that the text gets flowed down the available space. Once the scrollbar appears, the rest of notes will be populated. At that point you can resize the window back to your preferred size and the viewer keeps working correctly.

This is probably related to #37 .

Obsidian Version

1.5.12

Which plugin are you using for daily notes?

  • [X] Default Daily Note Plugin
  • [ ] Periodic Notes Plugin

Checklist

  • [X] I updated to the latest version of the plugin.

hmijail avatar Jun 05 '24 05:06 hmijail

Please check if this issue remains in 0.1.6

Quorafind avatar Jun 18 '24 05:06 Quorafind

Seems to be fixed, thank you!

hmijail avatar Jun 19 '24 03:06 hmijail

Sorry, I am finding the issue is actually still there, only less frequent. Not sure yet what exactly triggers the problem, so I haven't found a way to reproduce it reliably.

hmijail avatar Jun 25 '24 02:06 hmijail

FYI the version linked in this comment fixes the issue for me: https://github.com/Quorafind/Obsidian-Daily-Notes-Editor/pull/41#discussion_r1653018811

calvinwyoung avatar Jun 26 '24 14:06 calvinwyoung

@calvinwyoung I installed it and will report back. But for starters, looks like this version ignores the settings to not show backlinks and unlinked mentions.

hmijail avatar Jun 26 '24 14:06 hmijail

@calvinwyoung now somehow the settings for backlinks and unlinked mentions do work. No idea of what changed, hopefully it was my mistake.

Anyway, your version seems to work better than the original one, but still it's easy to make it fail: open the Daily Note view, quit Obsidian, and start it again. In this case the Daily Note view only shows 2 dates. Pressing the Daily Note button causes the view to be refreshed correctly.

Not sure if this is the same bug or a different one?

hmijail avatar Jun 27 '24 22:06 hmijail

I have this same issue(only loads 2-3 notes when i first click the icon). I am able to get all of them to show by just switching from the Daily Notes Editor tab, to any other tab, then switching back to the Daily Notes Editor tab.

Any updates to fix this would be great. Thank you so much!

Knuckles92 avatar Jul 01 '24 16:07 Knuckles92

Could you take a look at 0.1.7 and see if this issue remains?

Quorafind avatar Jul 02 '24 01:07 Quorafind

Tried 0.1.7. If the Daily Note tab exists when Obsidian is started, its content is bad: it either contains 1 or 2 days. I always have to press the "Open Daily Note Editor" button to make the tab be filled correctly.

hmijail avatar Jul 03 '24 11:07 hmijail

After playing around a bit I see the same behaviour as @hmijail. I can confim that new Journal entries are loaded in the background, eg. if you resize the window. But the UI seems not to respond and when hovering the cursor over the stuck content I got a small notice (censored the stuff unter the black square): image

Also it seems that the 'create Journal Entry' section overlaps the underlying page header. Maybe this helps in further investigation...

questmaster avatar Jul 05 '24 10:07 questmaster

Same issue here, on version 0.1.7. Really loving the plugin otherwise

RaphZufferey avatar Jul 13 '24 11:07 RaphZufferey

After playing around a bit I see the same behaviour as @hmijail. I can confim that new Journal entries are loaded in the background, eg. if you resize the window. But the UI seems not to respond and when hovering the cursor over the stuck content I got a small notice (censored the stuff unter the black square): image

Also it seems that the 'create Journal Entry' section overlaps the underlying page header. Maybe this helps in further investigation...

Thanks!

Quorafind avatar Jul 15 '24 02:07 Quorafind

Could you please try the lastest version? 0.1.8

Quorafind avatar Jul 15 '24 03:07 Quorafind

Version 0.1.8 seems to have fixed it for me! Thank you very much, this is super helpful.

RaphZufferey avatar Jul 15 '24 08:07 RaphZufferey

FWIW, after a couple of days trying it, I was about to report that 0.18 still fails in the same way for me... but I tried just once more and now it works?? I'll keep an eye on it.

Anyway, did the ribbon button's icon change on purpose? Now it's a small calendar sheet, which to me is easy to mistake for other small calendar / small rectangle icons (4 in my case). The original purple icon remains in the Daily Note tab though, so I wonder if the change was by mistake.

hmijail avatar Jul 17 '24 00:07 hmijail

I don't remember seeing this exact issue again, so I will close now.

hmijail avatar Oct 05 '24 12:10 hmijail