Skip to content
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

Loss of note if saved with "/" in filename #26

Closed
Alex9001 opened this issue Apr 6, 2021 · 1 comment
Closed

Loss of note if saved with "/" in filename #26

Alex9001 opened this issue Apr 6, 2021 · 1 comment

Comments

@Alex9001
Copy link

Alex9001 commented Apr 6, 2021

This probably applies to other disallowed symbols.

When using Filesystem on Win32, saving a note.txt with a / in the name (Ex: Misc/Etc.txt) provides a non-descriptive error dialogue that simply states "Dialogue: //Filepath".

At that point the note becomes unsavable as there is no way to rename the note after saving it the first time.

At that point closing the note pops up a choice to save or discard the note, clicking save repeats error dialogue and does not save note.

@Ogefest
Copy link
Owner

Ogefest commented Apr 6, 2021

Thank you @Alex9001 for your contribution. I've checked your problem and you are right. Main reason is described https://stackoverflow.com/questions/1976007/what-characters-are-forbidden-in-windows-and-linux-directory-names which make sense why Notepack can't save notes under windows.

Good news is that I fixed this issue and fresh release are ready to download from Notepack release page version v0.9.16 show proper message when you try to use those chars.

If you find any other problems or have ideas which can improve Notepack feel free to create new issues, on current development stage most of ideas could be easy to develop.

@Ogefest Ogefest closed this as completed Apr 6, 2021
@Ogefest Ogefest reopened this Apr 6, 2021
@Ogefest Ogefest closed this as completed Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants