為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

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.