text icon indicating copy to clipboard operation
text copied to clipboard

Weird text editing behavior

Open fsoc opened this issue 3 years ago • 5 comments

Describe the bug Text is deleted when editing. All details including videos are reported in: https://github.com/nextcloud/ios/issues/1631

https://user-images.githubusercontent.com/606665/128668738-c2ea981b-f6b2-4322-a274-737a43cfb224.mp4

fsoc avatar Nov 02 '21 09:11 fsoc

Seems to be an issue on the web with safari as well. So far the reports only seem to mention 22.2.0

juliusknorr avatar Nov 03 '21 21:11 juliusknorr

I can confirm, problem appears in Safari and/or iOS Nextcloud App (4.0.6), and since we upgraded to 22.2.0

A return/new line, at the end of a textline, moves the cursor to the top of the file and inserts the new line there - always. Adding other letters to the end of the line (e.g. H) works though. Pasting content or adding a new line at an empty line, sometimes even clears the entire file adding a single empty line at the start of the file. With that "new" Autosave-function, this deletes everything and saves instantly, which is pretty annoying.

Norjek avatar Nov 19 '21 13:11 Norjek

There have been updates and bugfixes, of course I installed the updates: Nextcloud iOS App 4.2.0.5 Nextcloud Server 22.2.3

Sadly the problem is still existing. Basically working with Textfiles is impossible as  User because the problem appears on Safari as well. I‘d be happy if that could be fixed, data loss is extremely annoying.

Norjek avatar Dec 22 '21 07:12 Norjek

Yet another document dissapeared thanks to this bug. Can you report on the timeline of solving this? Happened on IOS app 4.3.1.0 NC 23.0.3. Can you please prioritize this?

The bug is intermittent, so the use case does sometimes work.

fsoc avatar Apr 22 '22 12:04 fsoc

This is still happening with yesterday's updated iOS client.

Server version: a very nearly default 24.0.1 My user agent Mozilla/5.0 (iOS) Nextcloud-iOS/4.4.0 AppleWebKit/605.1.15 Mobile/15E148 iOS 15.4.1

ftoomch82 avatar May 27 '22 14:05 ftoomch82

Might also be related to https://github.com/nextcloud/text/issues/2131

juliusknorr avatar Oct 17 '22 17:10 juliusknorr

please help us with this issue. It has persisted through several Nextcloud versions for a year and it still happens now and then that the whole file gets deleted.

I started to locally save a copy before editing every time as a workaround a fix for this would make many peoples life’s easier!

fsoc avatar Oct 17 '22 19:10 fsoc

Seems ot only be an issue with plain txt file now (no longer with markdown files)

juliusknorr avatar Nov 18 '22 07:11 juliusknorr

This issue is still ongoing as of Nextcloud for iOS version 4.5.7

Editing plain text files results in deleted content.

f1d094 avatar Dec 08 '22 01:12 f1d094

I failed to make a few important notes:

  1. Server was running 23.0.11 and client 4.5.7
  2. After upgrading server to 24.0.7 the issue is largely resolved. Attempting to enter a newline between existing text no longer deletes random blocks of text.

Related: Hitting return on a blank line creates a newline and then deletes it...but if you are quick and hit enter a few times it creates 'n' newlines and only deletes the last one.

f1d094 avatar Dec 08 '22 16:12 f1d094