nextcloud / nextcloud/notes-ios

RTL support not functioning as expected

Open
#120 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
73
Forks
22
PR merge metrics
No merged PRs in 30d

Description

I appreciate the effort put into improving RTL support in Nextcloud Notes, as mentioned in the release notes. However, the current implementation does not behave as expected. Proper RTL support means the ability to write from right to left with correct text alignment, cursor behavior, and paragraph direction. Currently, this is not functioning correctly.

I have attached two screenshots demonstrating the issue. The first screenshot shows how RTL behaves incorrectly in Nextcloud Notes, and the second shows how it should work correctly (as seen in Obsidian).

Steps to reproduce
  1. Open Nextcloud Notes.
  2. Switch to an RTL language (Arabic in my case).
  3. Start typing.
  4. Observe that text alignment and overall behavior do not conform to proper RTL support.
Expected behaviour

Text should be properly aligned to the right, as the example shown in my attached screenshots.

Actual behaviour

Although I am able to write Arabic words, the text does not align correctly.

Screenshots:

Image
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 Notes iOS app using Arabic or another RTL language, following the listed steps and comparing the attached screenshots. Trace the note editor's text alignment, cursor behavior, and paragraph-direction handling; done means RTL text is right-aligned and behaves correctly while typing.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.