nextcloud / nextcloud/text

iOS: Menu is not working if overlapping selected text

Open
#6,647 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug
Dominant language
JavaScript
Stars
659
Forks
133
Avg merge
1d 20h
Merged PRs (30d)
110

Description

Actions Performed

  1. Open the Nextcloud iOS app
  2. Login
  3. Select a folder and add a new text file
  4. Copy & paste +1000 words
  5. Tap on done
  6. When green checkmark is shown on file open it again
  7. Mark some text
  8. Now use different options like bold etc.
  9. Close, reopen and repeat previous step

Expected Result

Selected menu option is carried over

Actual Result

At some point the menu options are not carried over anymore and text remains unchanged. Happens on iPad with some options as well.

Analysis

It turns out iOS will not pass though touch/click events for anything that is overlapping with the selection (e.g. bold/italic/underline, parts of strikethrough in the following screenshot):

Image

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

Reproduce the issue in the Nextcloud iOS app by creating a long text file, selecting text, and using formatting options such as bold, italic, underline, or strikethrough. Investigate the text editor's formatting menu and iOS touch handling; done means selected formatting actions still apply when menu controls overlap the selection and remain after reopening the file.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, javascript
Domain
frontend, 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.