nextcloud / nextcloud/android

Text Editor rendering scaling breaks when exceeding a word count and/or opening the keyboard.

Open
#17,156 0 comments 1 reaction 0 assignees View on GitHub
0. Needs triage bug
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### ⚠️ Before posting ⚠️

- [x] This is a **bug**, not a question or an enhancement.
- [x] I've [searched for similar issues](https://github.com/nextcloud/android/issues) and didn't find a duplicate.
- [x] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- [x] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).

### Steps to reproduce

1. Create a new .md file in the Nextcloud Android client app
2. Copy and paste the lorem ipsum sample text below.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse nec posuere nisl. Nulla at bibendum felis. Pellentesque tempus metus fermentum hendrerit venenatis. Sed est leo, gravida a egestas eget, semper at quam. Mauris sed ante leo. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Morbi id volutpat tellus, lobortis commodo tellus. Proin ornare metus et quam tincidunt, quis luctus velit mattis. Etiam vitae orci vel turpis interdum tempus. Sed pretium semper efficitur. Nulla aliquet, lorem et interdum posuere, mi metus hendrerit ex, nec lacinia justo elit finibus diam. Morbi eget lacus in ligula molestie tempus eget quis erat. Sed euismod est nec purus dapibus auctor. Maecenas molestie eros a dolor interdum, porta dapibus nunc elementum. Mauris maximus efficitur tortor in cursus. Ut tincidunt ipsum ut metus congue, vitae vehicula lorem bibendum.

3. The rendering should be fine at this point. Save the text. Then click on the text to open the keyboard
4. The render scaling should now be offset, and it should now be impossible to select text at the edge of the distortion.

Image

### Expected behaviour

The render scaling should remain the same, and users should be able to select text at the end of the line.

### Actual behaviour

The render scaling seems to shrink or shift, causing text at the right end of the screen to be unselectable.

### Android version

16

### Device brand and model

Pixel 7 Pro

### Stock or custom OS?

Custom (explain in "additional information")

### Nextcloud android app version

34.0.0

### Nextcloud server version

Nextcloud Hub 26 Winter (33.0.3)

### Using a reverse proxy?

Yes

### Android logs

_No response_

### Server error logs

```bash

```

### Additional information

Using the latest version of GrapheneOS.
It's was working fine up until I updated my server to Nextcloud Hub 26 Winter.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.