Skip to content

Visual Studio Code right-to-left test #4

Open
@nathangibson

Description

@nathangibson

Name of app/URL of website

What app or website are you testing?
Visual Studio Code
Are you testing a particular field or type of document?
Plain text

Desktop (please complete the following information):

OS: Mac OS 10.14.5
Version of app or website (if applicable) 1.14.1

TESTS FOR PLAIN TEXT EDITORS

Copy this text into your text editor, answer the questions, and then paste it back here. Put an x inside the [] to answer the questions below. Feel free to add screenshots in the issue.

TEXT DISPLAY

  1. Does basic mixed-direction text display correctly? The first line should display the numbers left-to-right, the second line right-to-left.
    Word 1, 2 الكلمة, word 3
    كلمة 1، word 2, كلمة 3

-[] Yes
If No, what happened?
The numbers on the second line still display left-to-right.

LINE DIRECTION

  1. Can you set the base text-direction in the program's menu? Try setting the direction of the line below as right-to-left. The period should be on the left side of the line.
    هذه الكلمة.

-[] Yes
If No, what happened?
Not available from menus. Period appears on the right.

  1. Can you align text to the right (either using paragraph alignment or by setting the text direction)?
    هذه الكلمة.

-[] Yes
If No, what happened?
Not available from menus.

  1. Does the beginning of the line start on the right for RTL text? (Try entering a line break with the cursor on the right side.)
    هذه الكلمة.

-[] Yes
If No, what happened?
End of line is on right.

SELECTING TEXT

  1. Can you position the cursor correctly in RTL text with the mouse?
    هذه الكلمة.

-[x] Yes
If No, what happened?

  1. Can you position the cursor correctly in RTL text with the arrow keys?
    هذه الكلمة.

-[] Yes
If No, what happened?
Within RTL text the right arrow moves the cursor left and vice versa.

  1. If you double-click on a word in RTL text, does it highlight the correct word?
    هذه الكلمة.

-[x] Yes
If No, what happened?

  1. If you double-click on a word in RTL text, does it select the correct word? (Test by copying the word to the clipboard and pasting it somewhere else.)
    هذه الكلمة.

-[x] Yes
If No, what happened?

  1. Can you select characters within an RTL word using the mouse?
    هذه الكلمة.

-[x] Yes
If No, what happened?

  1. Can you select characters within an RTL word using the keyboard?
    هذه الكلمة.

-[x] Yes
If No, what happened?
Yes, but the arrow keys are reversed.

Other Notes/Screenshots

Relates to the following open issues in the VS Code repo:
See especially microsoft/vscode#86667
Also
microsoft/vscode#11770
microsoft/vscode#65648
microsoft/vscode#83365
microsoft/vscode#4994
microsoft/vscode#65855

Metadata

Metadata

Assignees

Labels

in triagepartially passed testsApp or website supports several tested right-to-left features but is also missing several

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions