Skip to content

Various issues detected by user #183

@maxistar

Description

@maxistar

=== Save attempt issue
Thank you for the explanation. Now I understand the reason for this issue.

This issue also occurs if I am editing an existing file and accidentally click on Save As instead of Save.

In order to cancel the Save As and go back to click on Save, I have to press the Back button until I reach the root folder and then press Back again to exit.

The other option is to navigate to where the file is saved, click on it and click Save - hopefully clicking on the right file - instead of and overwriting a wrong file.

=== Maybe simpler coding solution
One possible way to provide a Cancel option while still being able to use the Android System File Chooser is as follows:

When the user clicks on Save for a new file or Save As for an existing file, present a custom Save or Save As screen that prompts for the File Name. The input field would be Filename. The buttons on this dialog would be NEXT or CANCEL.

Clicking on NEXT will invoke the Android System File Chooser with the filename field pre-populated by the name entered by the user in the previous dialog.

This is actually not my idea. I saw it implemented in another text editor app. I was puzzled at this unusual Save sequence. But now I think it may have been done this way to solve the problem of not being able to customise the Android System File Chooser.

You can have a look at the app.

The name of the app is:
SimpleEditorLight
Written by Igor Luchkin

The Playstore link is:
https://play.google.com/store/apps/details?id=ru.wallst.igorsoft.simpleeditorlight

===== Workaround
After writing the above, I found a workaround. The System File Chooser lists the folder hierarchy at the top of the screen. I realised that I can tap on the root folder to jump directly to the root folder. I can then tap on Back to exit back to the app. It is 2 steps but 2 is a lot better than many.

=== "Can not read file" problem
I have associated txt type files with SimpleEditorLight in CX File Explorer and Total Commander. I can edit and save text files that are opened by tapping on the filename in these file explorers.

I notice that the "Open Recent" function sometimes has problems. The recent files are listed there but when sometimes when I click on one, it states "Can not read file", even if it is there. Sometimes the same filename is listed twice, one can be opened but not the other.

The file path is not shown so I can't be sure what the path of the file that cannot be read is.

This seems to be random. I am not sure but I think it affects both files opened via Association in File Explorers as well as directly via File Open.

The SimpleEditorLight app does not have this problem with its. "Open Recent" function. This app does not require any permissions - just like Simple Text Editor.

Thanks again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions