Skip to content

KorgNote 1.6.5

Choose a tag to compare

@jglouis jglouis released this 05 Nov 11:25
· 15 commits to master since this release

KorgNote no longer crashes on a large library, and the calendar is ready the moment the app opens, whatever the size of your notes. The app used to keep every note in memory, and now it keeps only a short summary of each and reads the notes as they are needed.

Before you update

  • The first start reads your notes once. Nothing is lost or changed. With a few megabytes of notes it takes a few seconds. With a few hundred megabytes it takes minutes, during which you can read and search your notes, and the calendar fills up as it goes. It can be interrupted, and carries on where it stopped. Your reminders and widgets stay as they are until it is done.
  • If you use the KorgNote server, update it too. It has two fixes of its own, below.

Large libraries

  • Fixed: the app ran out of memory on a large library, on every start, so that the notes could not be opened at all (#2). A made-up library of 240 MB and about 2,400 notes, which 1.6.4 crashes on, now works on a slow phone with the usual memory limit, from a folder, a server or WebDAV.
  • Fixed: a single very large note could get the app killed, with no error, for using gigabytes of memory while going through it. A 15 MB note now opens in a few seconds.
  • Search brings results in as it finds them, when your notes do not all fit in memory: first from the notes in memory, then from the rest, with a bar while it reads. Typing something else stops it. On a slow phone it went through 240 MB in about 16 seconds. If your notes fit, search works as it always has.
  • A note too big for your device says so. That is about 16 MB on a phone that gives an app 256 MB. It stays in the drawer and can be found by its name, but it does not open and search does not look inside it.
  • With very many notes, the app says when it can't keep track of them all. Those notes still open and can be searched, but their dates and links are left out.
  • The pickers offer a note's first thousand headings, when linking to a heading or refiling under one.

Faster, even with few notes

  • The calendar is ready as soon as the app opens. With 5 MB of notes on a slow phone, it was ready after 1.5 seconds rather than 9.
  • The note you were reading is back sooner, after 1.7 seconds rather than 9 on the same phone, in a folder. With a server or WebDAV it still waits for the check for changes.
  • The app uses less memory: 21 MB rather than 35 MB for those notes.
  • A day with nothing on it says so only when that is known. While your notes are still being read for the first time, it says Still reading your notes….

Keeping your notes safe

  • Fixed: another app's change could be overwritten. In a folder, if a note changed elsewhere and the conflict copy could not be written, or the changed file could not be read, trying again could save over that change. Both versions are now kept.
  • A note that cannot be read says so. It used to go on showing the note before it under the new name. Nothing can be edited there, or saved over it.
  • An edit from the calendar never lands on the wrong heading. If the note changed elsewhere and isn't in memory, the change is refused with a message, nothing is lost, and it works when you try again. If your notes fit, what came in is merged as before.
  • A folder out of reach at the start, such as a card taken out, no longer empties the calendar or cancels your reminders.

KorgNote server

  • Fixed: a rename on the server could make phones delete notes. A folder renamed while a phone was syncing, beside a folder of about a thousand files or more, could leave its notes out of what the server listed, and a phone takes a note left out as deleted. The server now looks again until nothing is missing.
  • Fixed: a note that went at the wrong moment had the same effect. A file disappearing while the server was checking it could leave that note out in the same way. That listing now fails, and the phone tries again.

On an iPhone

The iOS app is not part of this release. If you build it from source, all of the above applies, with the calendar ready in about a second on a simulator with 240 MB of notes. It has not been tried on a real iPhone with so many notes.

Signer #1 certificate SHA-256 digest: 2bb8626e0a758e5fc3284f833bfa7b81995ecb3315612489c21805ea243d0720

Server image, for amd64 and arm64: docker pull ghcr.io/jglouis/korgnote-server:1.6.5