搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

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

  • 2 回覆
  • 2 有這個問題
  • 9 次檢視
  • 最近回覆由 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.

由 myoffe 於 修改

所有回覆 (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.