Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[I] In the editor, putting a tab charachter in RTL sentance, pushes the text to the right and outside the panel #2874

Open
sikmo opened this issue Oct 6, 2023 · 3 comments

Comments

@sikmo
Copy link

sikmo commented Oct 6, 2023

Expected behaviour

In the editor, adding a tab character should push the next characters to the left

Actual behaviour

Adding a tab character pushes the previous characters to the right which pushes the start of the text outside the panel's view.

Steps to reproduce

  1. Enable "Use tab character instead of spaces" in editor settings
  2. Start writing in an RTL language (e.g Arabic). For example the word: تجربة
  3. Press tab to insert a tab character
@pbek
Copy link
Owner

pbek commented Oct 6, 2023

Haha, funny. It seems to work with spaces. Looks like an issue with the https://doc.qt.io/qt-6/qplaintextedit.html component, which would mean you best open an issue on https://bugreports.qt.io/secure/Dashboard.jspa

@pbek
Copy link
Owner

pbek commented Oct 6, 2023

I can't even test in kate, because it also uses spaces 😅

@pbek
Copy link
Owner

pbek commented Oct 7, 2023

Out of curiosity, I tried to remove all kind of staff from the implementation in QOwnNotes, but haven't managed to get the text inside the editor. 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants