desktop: Some system shortcuts don't work on macos (Cmd+Q, Cmd+,)

Captchas

  • I have read the instructions.
  • I have searched existing issues and avoided creating duplicates.
  • I am not filing an enhancement request.

What happened?

OLD: *On Mac (Sequoia), holding the Cmd key and pressing a number 1-9 usually takes you to that tab index. Now, it just does nothing. I am still able to ctrl+tab through them, and other cmd shortcuts like Cmd+T and Cmd+C still work. *

CURRENTLY: Some keybinds do not work, such as Cmd+Q, Cmd+, (settings), and Opt + Cmd + U (split tab).

Reproducible?

  • I have checked that this issue cannot be reproduced on Mozilla Firefox.

Version

1.0.1-a.9

What platform are you seeing the problem on?

macOS - aarch64

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 34
  • Comments: 91 (28 by maintainers)

Commits related to this issue

Most upvoted comments

Will fix this ASAp, releasing today.

Apologies to everyone. We included a patch for macOS specifically adjusting functionality of the modifiers (supposedly fixing https://github.com/zen-browser/desktop/issues/1363) and it seems like it is interfering with the previous functionality. As @mauro-balades noted, we’ll fix this with the new release.

So after the update to 1.0.1-a.4, some of the CMD shortcuts work but some of the still don’t, is that right?

This might get fixed in the next release, still testing them out. Thanks!

Hi! I don’t know if I need to open a new issue but on the latest version 1.0.1-a.4 only the following commands work:

  • CMD + L
  • CMD + R
  • CMD + T
  • CMD + W
  • CMD + P
  • CMD + +
  • CMD + -
  • CMD + 0
  • CMD + A

The commands that DO NOT work are:

  • CMD + Number
  • CMD + ,
  • CMD + Q
  • CTRL + Number (worked on 1.0.1-a.3 when ‘CMD + Number’ didn’t work)
  • Any user keyboard shortcut with CMD
  • Whenever you try to modify a keyboard shortcut: ‘CTRL + OPTION + E’ you get ‘CTRL + OPTION + €’ (this has been an issue since previous versions)

I know I’ve mentioned it before in this thread, but ever since the re-work of shortcuts started the “Previous tab” and “Next tab” disappeared - any chance of getting those added back again?

As previously said, firefox is a mess. The new implementation takes all the registrered shortcuts and applies them into something zen understands. Firefox handles next/previous tab in a different way, by implementing event handlers.

Why? No one knows

So it might take a bit of time to fully cover all the shortcuts. Im really sorry. I already have this writen in my linear app, so no need to make an issue about it. Thanks!

To be honest, im just happy we’ve got macos shortcuts fixed. Got a huge load off my back

The problem is still bothering me in 1.0.1-a-7 😦

Other broken shortcuts:

  • Cmd+Shift+T (Restore tab)
  • Cmd+R (Reload)
  • Cmd+Shift+L (Bitwarden autofil trigger)
  • Cmd + A (Select All)

Note that the above works if I use the Ctrl instead of Cmd So something is funky there

Yeah, I also still have some issues with CMD+Opt+C to toggle Compact Mode. It works most of the time, but sometimes it breaks and reverts to activating the element picker in dev tools. Haven’t been able to pinpoint what’s causing it to revert to that behavior.

How do I update to the recent version? About Zen window doesn’t have a way to check for a new version.

Edit: It could be because I installed using Flatpak. I’m now updating using flatpak update

Edit2: Shortcuts are now working for me 👍

Thanks for the hard work everyone @mauro-balades @HarryHeres You’re doing really great work 🙏 🙏 🙏

I am still facing this issue on Mac Sonoma. Are there any fixes?

Me too. I reassigned the keys, and they are shown as:

Image

Now they work properly. Perhaps it has to do with the keyboard layout? I’m using EurKey and US Int. and the same keys are shown.

The latest two alphas have solved most of the issues I personally had with keyboard shortcuts (on latest MacOS 15, Mac Mini M2, German ISO keyboard). I am only unable to close split view with the default Opt + Cmd + U as that opens Firefox’s View Source: Cmd + U

Thank you for your spectacular work!

Just pushed https://github.com/zen-browser/components/commit/612abc81e78ccdfbdf4d3c0bf6b37e94a87ed1c2. Ill release it to twilight and see how that goes. Taking all of these out at once is gonna be insane

image

Sadly in a.8 the issue still exists, on macOS Sequoia 😦

Cmd + , broke again in 1.0.1-a-6 😦

Similarly, I’m still experiencing the conflict between element picker and Toggle Compact Mode as option+cmd+c.

Perhaps the default keybind should just change for macos?

On Zen 1.8b.

Just chiming in to confirm that all my shortcuts are back and work as expected! Thanks again for your hard work!

EDITED: spelling

I know I’ve mentioned it before in this thread, but ever since the re-work of shortcuts started the “Previous tab” and “Next tab” disappeared - any chance of getting those added back again?

If not, I’ll be quiet and move on 😃

ill release today. Ill work a bit more on it for until 7PM (it’s 3PM right now) and the build takes 4 hours.

I’ve attatched my keyboard-shortcuts.json on linux, these shortcuts work only till the version Mozilla Zen 1.0.1-a.3. Upgrading to any higher version breaks (almost) all the keybinds that I had previously set and all the zen specific ones as well.

iirc shortcuts are suffering a rework since that version. That’s why some might be missing, since shortcuts in firefox are handled by, and quote, actual “magic voodoo”. Im trying to get native ones fixed for macos, then we can start expanding on add new shortcuts.

@mauro-balades answering for him. If you reset to default, no. But if you unset them then the commands start working again even after restarting the browser. In fact it has been like that since 1.0.1-a.7.

1.0.1-a.8 on macOS Sonoma 14.2.1. Cmd+, still doesn’t work.

After updating, I had to reset my keybinds and it worked for a little bit, and now it is not?

I do notice some oddities with the split keybinds for example. Like the Cmd+Opt+U didn’t work, until I reassigned it to the same thing. It works, but now shows this image

From what I tested in 1.0.1-a.7, those below are broken:

  • Cmd + Q
  • Cmd + ,
  • Cmd + h

same here, I’m on 1.0.1-a.7 and cmd+q cmd+, still broken

Cmd + , broke again in 1.0.1-a-6 😦

Unfortunately can confirm, I also notice Cmd + q is broken.

The option for setting a shortcut for “Next tab” and “Previous tab” is gone now - can we have these back?

Not sure if this should go here, but with version 1.0.1-a.4, I cannot open bookmarks or history using Ctrl + B or Ctrl + H.

I am on openSUSE Leap 15.5 and Zen Browser installed via a flatpak.

Update: applied version 1.0.1-a.5 and bookmarks now dock using Ctrl +B.

Would like to add that in the in the release notes is said that it was added a new system for handling keyboard shortcuts. The interface is the same, didn’t see no difference and it is loaded with duplicates and swapped commands. Also, in MacOS the shortcuts that should be showing Cmd + something are showing as Ctrl + something.

Cmd + F: makes browser go full screen instead of searching inside the tab. Cmd + ,: does not go to settings. Cmd + Shift + B and Cmd + B: not working for bookmarks. Cmd + H: does not open history. Cmd + {number}: does not switch tabs. Cmd + Opt + U: sends to view-source:about:preferences#zenCKS instead of closing split view.

Those are the ones that most impacted me, there is possibly more.

Another thing is the missing labels on some shortcuts and duplicated ones.

image

Unfortunately, after updating, the Cmd+<Number> keybind still doesn’t work. Some others do seem to work though. Cmd+, (settings) doesn’t seem to work either?

When on the settings tab, other shortcuts do not work now either?? e.x. Cmd+W Ctrl+<number> doesn’t work either

EDIT: Cmd+F goes into fullscreen, not search/find