nextcloud / nextcloud/ios

Weird text editing behavior since latest update

Open
#1,631 9 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

Steps to reproduce
  1. Open a text file
  2. go anywhere in the text and press enter
  3. the cursor jumps to the beginning of the file
Expected behaviour

pressing enter should just go to the next line

Actual behaviour

the cursor jumps to the beginning of the file.

Moreover, somehow, because I didn't care enough after pressing enter, the content of my file got deleted, and this empty file got automaticaly saved.

Again, for some reason, no versions of this file dating from less than 6 months are to be found in the web interface.

So, my file's content is definitively lost (well, I'll try to get it back from the backup)

Screenshots

Here's a screenshot of my file in the web interface:

image

Environment data

iOS version: e.g. iOS 14.6

Nextcloud iOS app version: Nextcloud Liquid for iOS 4.0.1.1

Server operating system: Debian/stable

Web server: Apache

Database: Mysql

PHP version: 7.3

Nextcloud version: 22.0.0 RC1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Enter-key behavior in the Nextcloud Liquid for iOS app version 4.0.1.1 against the listed Nextcloud 22.0.0 RC1 environment. Trace the text editor's cursor movement, autosave, and version-history behavior; done means Enter moves to the next line without deleting or automatically saving the file.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.