Skip to content

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

@JohanMoua

Description

@JohanMoua

⚠️ Before posting ⚠️

  • This is a bug, not a question or an enhancement.
  • I've searched for similar issues and didn't find a duplicate.
  • I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • I agree to follow Nextcloud's 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.

  1. The rendering should be fine at this point. Save the text. Then click on the text to open the keyboard
  2. 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

Additional information

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions