为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

CTRL shortcuts doesn't work on Firefox on Mac os

more options

Hi, I am using Firefox 62.0.2 (64-bit) on macOS High Sierra 10.13.6. I added into System settings -> Keyboard -> Shortcuts -> App Shortcuts this keys: COPY CTRL + C CUT CTRL + X etc. I am also using a window keyboard. This shortcuts work on all apps. With my keyboard I am also able to use the "home", "end", "Page Up" and "Page Down" keys in all the apps.

All the apps except for firefox. In firefox none of this shortcuts and keys work. If I go to Firefox -> Edit I can see that the function copy etc are all associated with CTRL + C etc shortcuts. In addition if I do CTRL+C I can notice that the Edit menù entry get highlighted. What's the problem? I have also tried to restart my laptop but nothing happened

Hi, I am using Firefox 62.0.2 (64-bit) on macOS High Sierra 10.13.6. I added into System settings -> Keyboard -> Shortcuts -> App Shortcuts this keys: COPY CTRL + C CUT CTRL + X etc. I am also using a window keyboard. This shortcuts work on all apps. With my keyboard I am also able to use the "home", "end", "Page Up" and "Page Down" keys in all the apps. All the apps except for firefox. In firefox none of this shortcuts and keys work. If I go to Firefox -> Edit I can see that the function copy etc are all associated with CTRL + C etc shortcuts. In addition if I do CTRL+C I can notice that the Edit menù entry get highlighted. What's the problem? I have also tried to restart my laptop but nothing happened

所有回复 (7)

more options

Might be a bug, I'll do some searching for you.

more options

Thank you. I did some search without result

more options

Maybe the different keyboard is a factor??

Could you check something:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste ui.key and pause while the list is filtered

The value of the ui.key.accelKey preference can be:

  • 17 for Ctrl (default on Windows)
  • 18 for Alt / Option
  • 224 for Meta / Command (default on Mac)
  • 91 for Win

What does yours say now? Feel free to double-click and edit to try different keys. Right-click > Reset to get back to Mac default.

more options

jscher2000 said

Maybe the different keyboard is a factor?? Could you check something: (1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk. (2) In the search box above the list, type or paste ui.key and pause while the list is filtered The value of the ui.key.accelKey preference can be:
  • 17 for Ctrl (default on Windows)
  • 18 for Alt / Option
  • 224 for Meta / Command (default on Mac)
  • 91 for Win
What does yours say now? Feel free to double-click and edit to try different keys. Right-click > Reset to get back to Mac default.

The value was 224. I changed it to 17 and now CTRL shortcuts work. Anyway my keyboard keys like "Home" or "End" still doesn't work

more options

Okay, it's a start.

Could you go to this test page and see what happens when you press the Home and End keys, and other non-working keys. Does Firefox not receive anything or does it show odd results? Or does it receive the key fine, but in normal use, it has a "Mac" behavior for that key?

https://www.jeffersonscher.com/res/keyvents.html

more options

It seems normal to me. Here's the output:

keydown => "End" keypress => "End" keyup => "End"

keydown => "Home" keypress => "Home" keyup => "Home"

keydown => "PageUp" keypress => "PageUp" keyup => "PageUp"

keydown => "PageDown" keypress => "PageDown" keyup => "PageDown"

I found out, while writing this answer, that page up and page down works good. But "Home" and "End" seems they work like "Page up" and "Page down". My cursor doesn't move, but the scrollbar does

more options

That might be how it works on Mac. I looked at Home and End keys on Mac in 2012. I have no idea if anything in the following thread has changed: Making the Home/End keys work on Mac like they do on Windows/Linux.