nuttyartist / notes

Fast and beautiful note-taking app written in C++. Write down your thoughts.
https://www.get-notes.com
Mozilla Public License 2.0
3.6k stars 316 forks source link

The name of folders can get truncated upon renaming them #647

Open guihkx opened 10 months ago

guihkx commented 10 months ago

Under certain conditions, the original name of a folder might be lost if we try to rename it.

Steps to reproduce:

  1. Make the folders panel as narrow as possible
  2. Create a folder with a long name, e.g.: This is a really long name for a folder
  3. Try renaming that folder

What will happen:

The original name of the folder will be be lost. In this example, it will be renamed to This is a really… and there's no way to prevent it.

What should have happened:

The original name of the folder should be kept.

Video:

https://github.com/nuttyartist/notes/assets/626206/724defb6-2b50-4f0c-96d0-9b62adb2dd98

nuttyartist commented 10 months ago

Good catch! Thanks.