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

搜索 | 用户支持

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

详细了解

Removing the ⌘+J shortcut

more options

I am trying to change the keyboard shortcut of the Tools → Downloads menu (opening up the downloads).

I accidentally click that sometimes and it is quite annoying, so I thought I'll switch the shortcuts to a more complex one to avoid these mistakes ^+⌘+J and when I remap that in the Keyboard preferences, the new shortcuts shows up in the menu, and it starts working but the old shortcut ⌘+J is still working.

I believe that is a bug in Firefox.

I am trying to change the keyboard shortcut of the Tools → Downloads menu (opening up the downloads). I accidentally click that sometimes and it is quite annoying, so I thought I'll switch the shortcuts to a more complex one to avoid these mistakes ^+⌘+J and when I remap that in the Keyboard preferences, the new shortcuts shows up in the menu, and it starts working but the old shortcut ⌘+J is still working. I believe that is a bug in Firefox.
已附加屏幕截图

被采纳的解决方案

I am a Windows user, so I can't test this and can only give you my interpretation based on what I see. Your Mac has a new system level mapping for

^+⌘+J => Downloads

which is a duplicate of what ⌘+J already does.

⌘+J is not affected by creating a duplicate mapping.

定位到答案原位置 👍 1

所有回复 (11)

more options

Or, to say that differently, you created a new shortcut in your keyboard software, but you did NOT block the ⌘+J shortcut from passing through to Firefox. Maybe that is also possible in your keyboard software?

more options

Dropa said

Firefox has standard defaults hotkeys for the keyboard and those can't be changed unless one uses a 3rd party app to change those settings. https://support.mozilla.org/en-US/kb/keyboard-shortcuts-firefox-ios

That article is for Firefox for iOS (iPhone/iPad) as the article for (desktop) Firefox for macOS it is https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-tasks-quickly

more options

jscher2000 - Support Volunteer said

Or, to say that differently, you created a new shortcut in your keyboard software, but you did NOT block the ⌘+J shortcut from passing through to Firefox. Maybe that is also possible in your keyboard software?

AFAIK under macOS the way to "block" the original shortcut is to remap that to something else.

more options

Dropa said

Firefox has standard defaults hotkeys for the keyboard and those can't be changed unless one uses a 3rd party app to change those settings. https://support.mozilla.org/en-US/kb/keyboard-shortcuts-firefox-ios

This is kind of disappointing, since then Firefox is not working the same way as regular macOS apps. :(

more options

István Karaszi said

jscher2000 - Support Volunteer said

Or, to say that differently, you created a new shortcut in your keyboard software, but you did NOT block the ⌘+J shortcut from passing through to Firefox. Maybe that is also possible in your keyboard software?

AFAIK under macOS the way to "block" the original shortcut is to remap that to something else.

I'm not sure I'm reading it correctly, but it doesn't look to me like you remapped the ⌘+J shortcut to something else. What do you want ⌘+J to do instead of opening Downloads? Can you remap ⌘+J to Shift+J or whatever you want Firefox to receive when you press that combination accidentally?

more options

jscher2000 - Support Volunteer said

I'm not sure I'm reading it correctly, but it doesn't look to me like you remapped the ⌘+J shortcut to something else. What do you want ⌘+J to do instead of opening Downloads? Can you remap ⌘+J to Shift+J or whatever you want Firefox to receive when you press that combination accidentally?

I've attached two screenshots that proves that I remapped the ⌘+J to ^+⌘+J to avoid th accidental Downloads tool opening.

As you can see from the second screenshot that the mapping went through and the new shortcut to open Downloads is the assigned ^+⌘+J, but the ⌘+J still works for some reason.

由István Karaszi于修改

more options

jscher2000 - Support Volunteer said

Can you remap ⌘+J to Shift+J or whatever you want Firefox to receive when you press that combination accidentally?

No really, I don't want to have anything on ⌘+J.

more options

选择的解决方案

I am a Windows user, so I can't test this and can only give you my interpretation based on what I see. Your Mac has a new system level mapping for

^+⌘+J => Downloads

which is a duplicate of what ⌘+J already does.

⌘+J is not affected by creating a duplicate mapping.

more options

jscher2000 - Support Volunteer said

I am a Windows user, so I can't test this and can only give you my interpretation based on what I see.

You are actually right. I just thought that assigning a new shortcut would disable the previous, but that is not the case and the previous shortcut keeps working in other applications as well. That is a bummer!

由István Karaszi于修改

more options

István Karaszi said

You are actually right. I just thought that assigning a new shortcut would disable the previous, but that is not the case and the previous shortcut keeps working in other applications as well. That is a bummer!

Actually, I am not completely stupid. Apple changed the behavior, it worked like that before.

https://www.youtube.com/watch?v=hHKbw1taBSI

more options

Thank you for the video reference. You might add a comment asking how to make it work in Firefox and see whether he knows a trick for that.