Open user202729 opened 3 years ago
Dotterel needs persistent access to dictionaries so your dictionaries don't stop working when you reopen it. Not catching the exception is a bug but the main problem appears to be with CX file explorer not granting persistent access.
As a workaround, I guess it is still possible to save the file (and inform the user that if they update the dictionary file they have to explicitly reselect it)?
I didn't try any other third party application, but this could be an issue with the android operating system too.
(also should there be any way for the program to require persistent access?)
==
The problem persists when I allow "storage" permission for dotterel (although I observe that dotterel works well even without that permission)
I'd be reluctant to do that since then there'd need to be a way to manage those saved files. Dotterel does require persistent, it's what's causing the exception.
I just tried CX file explorer 1.5.2 and didn't get any error. Could you provide your version of Android and CX file explorer?
Upgraded to 1.5.2 and the problem disappeared.
My previous version was 1.4.2.
Given that it's likely a bug in the other program, perhaps dotterel should just catch the exception and show a warning message.
Currently I'm using CX file explorer.
I'm not entirely sure if this is problem on Android side or the application, but it is definitely not trivial for a typical user to see where the issue is.
Reproduce:
Result: Dotterel crashes.
Possibly-relevant logcat section: