Shared Text Files Download - Not Opening In Nextcloud Editor

This feature request is as a result of a dead end on a recent support request:

In my experience, many times over I have found people we share folders with cannot read the contents of simply constructed text files. Instead it downloads them.

In the ā€˜best possible worldā€™, they would be able to read Only Office docs as well, but at a minimum being able to read txt files is important. I often create README.txt files for our clients to understand what to do with a folders contents and sometimes they donā€™t even realize itā€™s been download (many times over).

I have created a short 1 minute video here to make the issue much clearer.

Thank you.

Jay
CompuMatter

Hey, feel free to bump a topic rather than open a new one.
Love the video!

The formatting I think comes down to notepad. If you open it into notepad++ or an alternative, do you see the same behaviour? Iā€™d guess not.

without having tried it iā€™m sure thatā€™s correct and would keep the basic format.

but that only cures the sideeffect of what was saidā€¦ the problem is: youā€™ll always download the shared file and he wants a preview on the server (before/instead of download). which is still unsolved.

I tested that when you opened the new topic, but couldnā€™t find it shortly after to reply :smiley:
Iā€™m running NC 13.0.2 and text files I open with Notepad and with Notepad++ show a correct formatting. So maybe an update of the Texteditor app or an update of Nextcloud might solve that issue.
Anyway: I would always suggest using Notepad++ over Notepad (Windows standard editor), because the standard editor of Windows breaks formatting much too often and Notepad++ doesnā€™t.

Regarding the possibility to edit publicly shared text files: you would need to open a feature request for that app on Github:

As a workaround probably you could try Onlyoffice. It allows public editing and can handle text files as well.

If you would just like to see the files content after sharing, that is possible if you share the text file directly:


Here you can also see the option to edit the file online with Onlyoffice.

Yeah I get the feeling this is intentional, so addressing the bit I can comment on rather than the bit I canā€™tā€¦

Thereā€™s no text previewer AFAIK, which is why it doesnā€™t preview, while there are previewers for media. I believe the older, non-maintained documents app would have previewed files thoughā€¦ so we need a new app.

Edit: or @Schmuā€™s post above. Thatā€™s also good.

as many times beforeā€¦ this just made my day. :clown_face: - and i always forget that youā€™re such a foxxx :slight_smile:

1 Like

Hello all. Thanks for the advice on the subject and protocol. Will bump in the future. Appreciate the video kudoā€™s Jason.

Iā€™ll take the advice on updating the Texteditor app etcā€¦ regarding the formatting.

The formatting is secondary but important.

Being able to see it all without downloading it primary. Non-editable previews would be ideal with any text document.

When ā€˜sharingā€™ it is often with a layperson. The feel like they are looking at an ā€˜explorer likeā€™ interface and expect it to be viewable. More often these laypeople wonā€™t even realize a file has downloaded.

At a bare minimum, it would be great if .txt files could incorporate a viewer. In this way a simple README.txt file can be added to any folder to assist the shared person with what to expect. For instance, ā€œHello John, the folder Iā€™ve shared with you contains X files. Clicking on a PDF will open the file in your browser. Clicking on any other document will download that fileā€.

It allows at least minimal readme type correspondence to occur with the recipient.

I have also attempted to try using the Only Office documents but find the same inability to preview occurs for I would expect the same reason.

I have tested the sharing of the README.txt file directly as a 2nd share item. That gives a partial view of the underlying document and the option to download the file to view it all ie;

That comes close to the desired behavior but ideally should not be done with a 2nd share and should be entirely ā€˜viewableā€™ instead of partial view.

So unless anyone has a better idea, Iā€™ll move this post to the ā€œfeature requestā€ section.

Jay
CompuMatter

Hi again,

Iā€™m not sure if there is a misunderstanding here. I meant Onlyoffice, the service that allows online editing of MS Office files, Open Office files, just like txt files:

It just allows public editing and might be a workaround until that currently missing feature is implemented in the Texteditor app.
Sure, everything we showed and explained so far is not ideal and I didnā€™t ment these examples as a solution :wink:
A feature request is the right way to go and that should lead to a real and good solution in the end :slight_smile:

Indeed that should have said Only Office. Thank you. Correction made. That said, Only Office also does not work during Shared access. It just downloads the office document.
No solution on this as of yet. Will now open up a feature request.

This confuses me ā€¦

Definitely works for me with Onlyoffice.