billthefarmer / editor

Android simple text editor
https://billthefarmer.github.io/editor
GNU General Public License v3.0
474 stars 85 forks source link

Opened file can not be saved after edit #197

Closed iamgitcat closed 1 year ago

iamgitcat commented 1 year ago

App is 1.83 from F-Droid. Open any text, press save icon = error. Screenshot_20230326-003001 It has permissions, if I choose to save and change file name it saves it.

iamgitcat commented 1 year ago

I found why it happened. If I open app itself it contained the text from a file I deleted before. Probably tryed to safe that file too? I closed all opened files and now everything works fine.

billthefarmer commented 1 year ago

Android apps don't generally give write permission when they share files. My apps don't because the file is in the app's private storage. Editor attempts to resolve content Uris like the one above, but if can't then writing to it will generally fail.