搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 2 个回答
  • 2 人有此问题
  • 2 次查看
  • 最后回复者为 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.