Skip to content

Can not open TXT files by clicking on it #5975

Description

@avalx

Steps to reproduce

  1. open NC client
  2. click on an existing text file (extension txt or md)
  3. does not open at all - message: Loading takes very long
    Screenshot_20200429-212734_Nextcloud

Expected behaviour

File should open in the appropriate app for text editing.

Actual behaviour

Nothing happens - the activity circle goes on indefinitely and there is the mentioned message at the bottom. This only happens for files with extension txt and md. If choosing any other file type this does not happen - the file is downloaded and opened with a selected app. If I change the extension to something else, for example to file.text or file.html, the file opens immediately and I can edit it as well. On the other hand if I first download the file (thee dots -> Download) and then tap on it, it opens immediately.

Can you reproduce this problem on https://try.nextcloud.com?

Did not test this yet, but I tested with two different NC accounts and on both this problem is present.

Environment data

Android version: 9

Device model: Oneplus 3

Stock or customized system: Stock Oxygen OS 9.0.6

Nextcloud app version: 3.11.1

Nextcloud server version: 18.0.4

Reverse proxy:

Nextcloud log (data/nextcloud.log)

Logs are empy

NOTE: Be super sure to remove sensitive data like passwords, note that everybody can look here! You can use the Issue Template application to prefill some of the required information: https://apps.nextcloud.com/apps/issuetemplate

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions