scharel / harbour-nextcloudnotes

Nextcloud notes client for SailfishOS
MIT License
13 stars 10 forks source link

Edit involuntary renames file #35

Closed fllp closed 5 years ago

fllp commented 5 years ago

When creating a file outside of Harbour Notes via the desktop client, the file get renamed upon the first edit. The file's name will be the first line of the note's text.

When using special syntax for use in 3rd party editors such as tick boxes, this can lead to problematic filenames, containing characters such as [ ] or % (pandoc syntax).

Also, the file names of notes contain spaces which can be called undesirable on a UNIX system :wink: But this might be worth a dedicated issue.

scharel commented 5 years ago

This is the behavior of the server app. Please have a look at the Nextcloud Notes documentation. There's already a similar issue opened in the server repo.

So at the moment there's nothing I can do. Probably one day one can think about moving away from the server-side Notes API and use WebDav and simple text-files instead.

fllp commented 5 years ago

Ah, I see. Thanks for clarifying. I'll close this then.