desktop: "Close Window" Shortcut is being ignored

Captchas

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

What happened?

Interestingly enough, I’m familiar with this issue: https://github.com/zen-browser/desktop/discussions/1086

which is the opposite of what I want, and opposite of these: https://github.com/zen-browser/desktop/issues/2831 https://github.com/zen-browser/desktop/issues/2698 https://github.com/zen-browser/desktop/issues/2537 https://github.com/zen-browser/desktop/issues/2380

I too would like to see the ability to close the window when the last tab is closed, but I’d like to add to that.

Sometimes, using the shortcut to “Close Window” is being ignored. I believe this may be a corollary to the issues I mentioned above.

I’ve been holding off on creating an issue because I’m not entirely sure how to reproduce this as I haven’t found a consistent way to make it happen, but I wanted to shine a light on it to maybe get some more eyes on the potential issue for assistance finding a consistent way to reproduce, so please forgive me and bear with me. What I can say is that I have Ctrl+W mapped to “Close Tab” and Shift+Ctrl+W mapped to “Close Window”. After spamming Ctrl+W until a new tab is repeatedly created as the last tab is closed, I will attempt Shift+Ctrl+W to close the window, and sometimes this command is ignored. In these cases, I can successfully close the window by clicking the “X” on the top right hand of the window.

Reproducible?

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

Version

1.0.1-a.19

What platform are you seeing the problem on?

Windows

Relevant log output

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 10
  • Comments: 15 (5 by maintainers)

Most upvoted comments

Could this issue be re-opened, as I am experiencing this bug in the latest stable release?

This is not a duplicate of #4289, as this issue is related to the “Close Window” (by default Shift + Ctrl + W) shortcut being ignored, and not the browser remaining open after closing the last tab in the only workplace.

I believe this has something to do with “Toggle DOM” having the same keybind, as after changing its binding the “Close Window” shortcut works.

@aljustiet please don’t spam issues with these comments. It will not make them get to it any faster.

They will get to it when they get to it.