-
Notifications
You must be signed in to change notification settings - Fork 563
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
RTL: Selection is wrong, Markdown confuses RTL detection #2457
Comments
Thanks for this, @ajmandourah. I'm wondering if the issues with selection also exist here: https://microsoft.github.io/monaco-editor/playground.html Would you mind testing and reporting back? |
Noting lots of upstream issues about RTL support, the main ones seem to be: |
To start with I use VSCode in writing an arabic webpage. Thw issue with the RTL exists but I feel its the best option available. Regarding your link. first i belive its 2 separate issues mainly because in simplenote you have the option to completly go RTL when you first start writing in a RTL lang. this is not available in your link as it is basiclly a code editor . My main issue is with the formating while writing in RTL . see the uploaded image above. The right part is version 1.21.1 and this is the correct behavior. notice the position of the ":" . the left part is v 2.0.0 |
There is another report of the selection issue in 3522477-zen . The issue happens when using CTRL+A but also in partially selecting. It seems to work fine when it comes to copy/pasting, but the selecting part doesn't work as it should.
Simplenote 2.0.0 web on Firefox v83.0 64bit on Manjaro Linux |
Another report in 3592831-zen.
I'm able to replicate this on macOS Big Sur 11.1, Google Chrome Version 87.0.4280.88 (Official Build) (x86_64) on the web app. I'm also asking for the user's OS and browser version. |
User came back with the following info: It happens with Windows 10 It happens with many of my devices:
It doesn't happen with Android or iOS app |
Also reported in 3315357-zen on the web app.
OS: macOS Catalina version 10.15.5 |
Reported in 3818494-zen:
In the above ticket, there is a comprehensive video showing a few issues:
The user claims it was fine before the last two updates |
In Linux. RTL is not working as it should be. In comparison with windows version. Starting typing in Arabic will lead the text starting from the right (correct behavior) but starting with a "-" or like "##" will lead to this first symbol to be placed at left instead.
Ex.
Expected: عنوان ##
Bugged : ## عنوان
Mixing Arabic and English will lead to an issue while selecting the whole line. It basicly select an empty space in the left (while it actually the whole line is selected, can confirm by pressing backspace as the whole line deleted). This is confusing.
3 RTL in markdown doesn't work. (fixed in win and Mac)
manjaro vs windows
https://imgur.com/Khcfvl1
Reproduced
Reproduced by using Simplenote in any Linux distro
Where did you see the bug
Using Manjaro freshly installed.
Simplenote 2.0.0
a probably useful link using RLM and LRM
https://www.w3.org/TR/WCAG20-TECHS/H34.html
adding toggle button will probably satisfy the most
BoostIO/BoostNote-Legacy#3282
UPDATE:
After checking out it seems like I had an older version in windows. i tried up to version 1.21.1 and the arabic text appears right.
It seems like version 2.0.0 is bugged even in windows as texts appears strangly. check the image https://imgur.com/Khcfvl1
on right an older version and on the left version 2.0.0
The text was updated successfully, but these errors were encountered: