unkyulee / micro-journal

Other
233 stars 7 forks source link

Rev. 6 - Text Display Truncates after syncing more than 2000 bytes #26

Open anon3792737 opened 3 weeks ago

anon3792737 commented 3 weeks ago

I've noticed that after writing more than roughly 2,000 bytes or so, and then syncing the file to Google drive, the display of the text truncates on my microjournal.

I'm not exactly sure if it's at 2,000 bytes, but it seems to be around that general size..

The text isn't actually removed from the file. For example, if I keep typing and rsync to Google Drive, all of the original text is still there. However, I can no longer navigate back to the text that I saw before the display truncation.

Imagepipe_0.jpg

I'm not 100% about this, but I think I've seen this issue whenever I've navigated away from a file to a different screen, and then come back to the original file, so it might not be sync related at all.

unkyulee commented 3 weeks ago

It expected behaviour. Every 4000 characters (bytes), saves to the SD card and then clears the buffer.

In that case it's likely that previous buffer won't be able to be navigated. With the recent introduction of cursor navigation, should be possible to go back to the previous buffer. To be implemented in the future.

anon3792737 commented 3 weeks ago

Ahh makes sense, want me to close this and make a feature request?

unkyulee commented 3 weeks ago

Don't close it. I think it's better that some people with same problem might find this conversation useful.