-
Notifications
You must be signed in to change notification settings - Fork 138
Note renaming from within app #55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It's a key feature of this app, that filenames are derived from the first line of the note. This happens every time you change the note using this app, so the filename will change back to the content of the first line, regardless you've changed the filename in the filesystem before. The advantage is, that you are not struggling with filenames -- you aren't even confronted with files and you can concentrate on your note. Nevertheless, this approach still produces meaningful filenames for people who want to work with the files directly. I don't think that this behavior will be basically changed in future. However, you can always change the filename indirectly, by changing the first line of the note accordingly. |
@claell if that is the case we have to take a look at this. We might come back to you if we need further info. |
Please check if there is an empty line before your first line with `Test`.
Unfortunately, the current editor starts in the second line. This will be improved when we switch to the new editor (work in progress). For now, you have to remove that empty line manually.
|
@korelstar You are right, that caused the problem. Not very intuitive, so I hope this gets fixed soon. |
No matter what text I put in a note, it calls itself New Note. Renaming it doesn't help, it changes itself back. |
@scottalanmiller Please check if your text is in the first line of the note. In the screenshots I can see an empty line before the text. Please remove that line and test again. |
I wish it would ignore all empty lines (or whitespace-only lines) and name the note based on the first non-empty line. |
This is already implemented (see #88) and will be part of the next release. |
The automatic renaming makes this app useless to me. I have many notes in different formats including markdown, odt, and txt. When I open once of my markdown notes to edit it they get immediately renamed to a filename I do not want the file renamed to. Otherwise this app seems like it would be very useful. Can the automatic naming be only applied to newly created files? |
Solution: use onSaveInstanceState to remember edited note. Because on every screen orientation change onCreate() is called which uses the original given note.
Yesterday I installed this app and created some test notes. What was very disappointing to me is that one cannot rename a note from inside the app, but has to do it in the Notes folder. This is not very intuitive.
The text was updated successfully, but these errors were encountered: