-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Actual behaviour
The clients shows .txt and .md file with an internal editor.
AFAIK the client looks at the file extension before deciding how to open it.
Expected behaviour
All text (or at least a wider range of text files) files should be viewable from the client.
Steps to reproduce
- Create a file text with extension .adoc, .rc, .conf, .gitignore, .todo, .cfg, or without any extension
- Load the file on the nextcloud client
- On the android client tap on the new file
Environment data
Android version: 5.1.1
Device model:
Stock or customized system: Customized
Nextcloud app version: 2.0.1, from FDroid
Nextcloud server version: 12
I know that one cannot simply determine from the file extension if a file is a text file or not, maybe the best option would be to give the user the possibility to choose if the file extension/file type is not recognized.
On the other hand, I think that some formats, like .adoc for asciidoc, are only used for text files, it may be therefore safe to open them automatically with the internal editor, like for .md files.