Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS app no .txt creating/editing #1368

Closed
WernerBleisteiner opened this issue Aug 2, 2020 · 32 comments
Closed

iOS app no .txt creating/editing #1368

WernerBleisteiner opened this issue Aug 2, 2020 · 32 comments

Comments

@WernerBleisteiner
Copy link

Expected behaviour

create/edit .txt files iOS

Actual behaviour

no button to create/edit text

Steps to reproduce

Reasoning or why should it be changed/implemented?

iOS version

13.5.1

App version

3.0.2.16

Server configuration

Operating system:
shared hosting

Web server:
shared hosting

Database:

PHP version:

Nextcloud version: (see Nextcloud admin page)
17.0.8

@marinofaggiana
Copy link
Member

@WernerBleisteiner
Copy link
Author

Nope. No change with this version :(
But more observations:
Also my old iPhone 7 (iOS 13.3, Client 3.0.1) has no more text create/edit function, as well an IPad (iOS 13.3.1 Client 3.0.1. 18)
But my very old iPad Mini (iOS 12.4.7 Client 2.25.9.) ist -still- doing fine!

@marinofaggiana
Copy link
Member

Verify the capabilities in settings / advanced

@WernerBleisteiner
Copy link
Author

WernerBleisteiner commented Aug 2, 2020 via email

@marinofaggiana
Copy link
Member

Can you send me your capabilities in iOS at nextcloud dot com (use share in the view )

@WernerBleisteiner
Copy link
Author

WernerBleisteiner commented Aug 2, 2020 via email

@hanzukun
Copy link

hanzukun commented Aug 3, 2020

I am also willing to beta test since I experience same problem.
Nextcloud 17.0.8, ios 3.0.2.16.

@marinofaggiana
Copy link
Member

oh true, the procedure was yet incomplete, try with the last build (6)

thanks

@WernerBleisteiner
Copy link
Author

Keep on trying the latest Testflight versions of the NC app - but still no possibility to edit or create text files with it.🤨
Found out, however, that the legacy OwnCloud app iOS 3.8.2 can!
(whereas the new OC 11.4 even refuses to connect to my NC server)
Has simple text editing become so little important over new feature implementation?

@jasondaigo
Copy link

Maybe its just limited ressources. I decided to try nc19 now with php7.4 because the issue wont go away by itself. Since that works i will migrate soon. It s not a business deployment. I can live with that.

@WernerBleisteiner
Copy link
Author

I've tried before to update to NC18 with the web updater on a 'stable' channel. This resulted corrupted and could inly be resolved by recovering backup from the provider (nextcloud/server#22160).
As a private user, I'm tired of being forced to build up new instances of NC from scratch once a year and migrate some 50+ GB manually.
Interesting point to claim that losing such a very basic functionality like simple text editing on a non commercial installation is regarded as OK 🤔

@blocktastic
Copy link

I've got the same issue on the iOS Nextcloud v3.0.6.8 client, cannot create plain text file in the "+" menu (no option there), can only read-only view of existing .txt files, can't edit them. I ran the iOS Nextcloud v2.25.9 client using XCode and Simulator with my NextCloud 19.0.2 server and that one can create, view, and edit plain text files fine.

My setup is:
iOS client 3.0.6.8
NC 19.0.2
with Plain text editor v2.11.0
Centos 8
PHP 7.4.10

@arthurldp
Copy link

I have the same issue here (iPhone SE).

The Nextcloud server is hosted by my university.

Before upgrading the iOS app, I could create and edit any .txt file. This feature was one the main reason I used Nextcloud.

Now .txt file does not appear in my main menu.

I tried the Beta through TestFlight, and its the same.

Any idea if it's a bug or an intentional removal ?

Thank you for your work.

Arthur

@blocktastic
Copy link

I'm not familiar with iOS programming and Swift, and even less so with the NextCloud iOS codebase, so this is what I saw when I ran v2.25.9 in XCode and Simulator compared to v3.0.6, based on my novice experience:

In the v2.25.9 client, text files are edited through a screen/class called NCText, which provides the editing and saving functionalities. In the v3.0.6 client, it looks like text files are opened by NCViewerQuickLook, which is a read-only view, no text editing capabilities.

The NCText class/screen doesn't exist any more in v3.0.6, so it was a design decision to remove text editing capability provided by NCText, replacing it with view only NCViewQuickLook.

@arthurldp
Copy link

Thank you.

Any idea on how to officially ask for a come back of the NCText in the upcoming version ?

It was very useful for quick creation/editing of .txt files as (+/- markdown) note-taking or todo list..

@blocktastic
Copy link

I'd ask the NextCloud iOS maintainers provide some input on this, I think there were quite a number of changes to the iOS client from v2 to v3, so there was probably some design decision to take out NCText. I believe the text editing capabilities in v3 are to be provided by the Text app, which defaults to markdown .md files, and I found it quite buggy on the iOS client, text display clipping issues, markdown edited on a PC not being honoured on the iOS client and causing text loss etc. (see nextcloud/text#772).

Yes, I'd love for the plain text editor functionality to be restored as well.

@WernerBleisteiner
Copy link
Author

WernerBleisteiner commented Sep 9, 2020

Relieved to see, that's it's not just my problem.... ;)
Thanks for giving some hints.

@swingdancer
Copy link

Does anybody know if the text editing/creating feature will be reintroduced in future releases of Nextcloud IOS client?

In my case it's the main feature I use. :(

Thanks!

@mrstanwell
Copy link

I was having this problem running iOS client 3.0.8.0 and Nextcloud server < 19. But once I upgraded Nextcloud server to 19.0.3, text file creation and edit started working, although it's still a little glitchy... I can use the + button to create a file, but it doesn't immediately open the file for editing. I have to go back to the folder and tap the file to open it again, and the second time it opens in the editor. Sometimes it can take a few seconds for the file to finish opening in the editor. Files are created as markdown (.md) by default; but after creation, if renamed to .txt they'll open and edit as plain text.

@foss-
Copy link

foss- commented Jun 10, 2021

iOS 14.6
NextCloud iOS 3.4.2
NextCloud Server 20.0.8

Unable to add new or edit existing .txt or .md files. This is fairly essential and important functionality. Is this on any roadmap?

@foss-
Copy link

foss- commented Jun 13, 2021

Sadly persisting with Testflight NextCloud 4.0.0 (13).
@marinofaggiana is this on the roadmap or out of scope currently?

@marinofaggiana
Copy link
Member

@foss- do you have install the "Text" on server ?

@foss-
Copy link

foss- commented Jun 13, 2021

Not sure what you mean. Notes is running on the nextcloud instance being used and txt and md editing in browser is possible.

@marinofaggiana
Copy link
Member

I repeat, do you have installed Text ? go top on Capabilities in Advanced (Nextcloud iOS) and look if Text is installed

@foss-
Copy link

foss- commented Jun 14, 2021

@marinofaggiana - was not aware of where to check for capabilities in NextCloud iOS app. So this is an interesting case as the app says Text: not available but admin says Text is enabled. I can edit txt and md files when accessing NextCloud instance via browser on macOS and iOS.

Not sure what to make of this inconsistency. The behavior was identical for v3.4.2 and v4.0.0 (13).

@marinofaggiana
Copy link
Member

@foss- because you must install "Text" on server:

Schermata 2021-06-16 alle 07 26 31

@foss-
Copy link

foss- commented Jun 16, 2021

I understand. But as stated Text is enabled on server already:
text

@marinofaggiana
Copy link
Member

oh! sorry, @foss- can you create for me an account test ?

@marinofaggiana
Copy link
Member

Hi @foss- something is broken to server side, so I create a ticket here:

nextcloud/text#1662

If you want added more detail.

@juliusknorr
Copy link
Member

juliusknorr commented Jun 17, 2021

Since I've seen Nextclou 17 mentioned here quite often, this could be a reason, as the direct editing API was only introduced in Nextcloud 18 with nextcloud/server#17625

But anyone with a version 19 (18 is EOL already) or higher who is encountering the issue, additional server details would be welcome in nextcloud/text#1662

@SiliconAlley
Copy link

Hi,

I jump in here, b/c I think it is related. I lost my work 2 times already, and I thought that is the easiest thing to create a textfile in Nextcloud app to collect some brainstorming...

ENV: latest NC app on IOS 14.x, latest NC20 with Text app like mentioned above is installed.:
I create a new .txt file, type my text and save it.
OK so far. But when I want to edit the txt file again the mess begins. You go between your lines, because you want to insert there something, hit return, no new line opens between, but at the top a new line is inserted.

Sometimes all the existing text is deleted immediately and even saved. It gives me a 1byte file and all my brainstorming is gone.

Texteditors should be no rocket science and this is really frustrating.

/Thomas

@abnerhale
Copy link

See Comment nextcloud/text#1662 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests