Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

On Mac, with RTL languages, CMD+Left/Right does the wrong thing

  • 2 replies
  • 2 have this problem
  • 4 views
  • Last reply by myoffe

more options

I tried this on google.com (search bar), inbox.google.com (search bar) and facebook.com (write post). Tested only with Firefox 56 and 57.

TL;DR: CMD+Right/Left is reversed for text inputs in Firefox in Mac.

Steps to reproduce:

- Set input language as Hebrew (or any RTL language, I guess)

- Go to google.com, write a word in Hebrew (for example: שלום)

Caret should now be at the left end of the word, like this:

|שלום

- Click CMD+Right

Expected: Caret goes to the beginning of the word, on it's right, like this:

שלום|

Actual: Caret doesn't move

- Click CMD+Left

Expected: Caret doesn't move (it's already at the end of the word)

Actual: Caret moves to the beginning of the word, like this:

שלום|


I've also tried setting bidi.browser.ui to true, but it didn't help.

I tried this on google.com (search bar), inbox.google.com (search bar) and facebook.com (write post). Tested only with Firefox 56 and 57. TL;DR: CMD+Right/Left is reversed for text inputs in Firefox in Mac. Steps to reproduce: - Set input language as Hebrew (or any RTL language, I guess) - Go to google.com, write a word in Hebrew (for example: שלום) Caret should now be at the left end of the word, like this: |שלום - Click CMD+Right Expected: Caret goes to the beginning of the word, on it's right, like this: שלום| Actual: Caret doesn't move - Click CMD+Left Expected: Caret doesn't move (it's already at the end of the word) Actual: Caret moves to the beginning of the word, like this: שלום| I've also tried setting bidi.browser.ui to true, but it didn't help.

Modified by myoffe

All Replies (2)

more options

Did this work correctly in a previous Firefox version?

Does switching the bidi text direction in Firefox (Command+Shift+X) has any effect?

more options

cor-el said

Did this work correctly in a previous Firefox version? Does switching the bidi text direction in Firefox (Command+Shift+X) has any effect?

- I haven't tried with older Firefox versions. only 56 and 57. - Doing it moves the text to the other (wrong) side, and then it behaves as expected.