Skip to content

Show all text files #1756

@fekir

Description

@fekir

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

  1. Create a file text with extension .adoc, .rc, .conf, .gitignore, .todo, .cfg, or without any extension
  2. Load the file on the nextcloud client
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementneeds infoWaiting for info from user(s). Issues with this label will auto-stale.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions