CTRL shortcuts doesn't work on Firefox on Mac os
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
Tất cả các câu trả lời (7)
Might be a bug, I'll do some searching for you.
Thank you. I did some search without result
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.
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: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.
- 17 for Ctrl (default on Windows)
- 18 for Alt / Option
- 224 for Meta / Command (default on Mac)
- 91 for Win
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
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?
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
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.