desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Ctrl+W won't close window when its the last tab (expected?)

Open archcorsair opened this issue 1 year ago • 12 comments

Captchas

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

What happened?

I'm not sure if its expected behavior, but as a user I expect when I press ctrl+w or cmd+w on the last open tab that the window closes. This was the behavior for Arc as well

Reproducible?

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

Version

1.7.6b

What platform are you seeing the problem on?

Windows

Relevant log output if applicable


archcorsair avatar Feb 09 '25 08:02 archcorsair

Try setting browser.tabs.closeWindowWithLastTab to true in about:config

JSGRD22 avatar Feb 09 '25 08:02 JSGRD22

maybe check if you have it binded to that key and / or try jsgrd22's suggestion

devc3tt avatar Feb 09 '25 13:02 devc3tt

Try setting browser.tabs.closeWindowWithLastTab to true in about:config

Thanks it worked!

archcorsair avatar Feb 09 '25 17:02 archcorsair

So, is this expected? This is again breaking my flow coming from other browsers and going into about:config is not something I consider a good option to get back a feature that is implemented in every other browser.

kantum avatar Mar 10 '25 12:03 kantum

Doesn't work for me in 1.12.3b. What could I be missing?

UrsKR avatar May 11 '25 14:05 UrsKR

Doesn't work for me either.

SirZokxyron avatar May 14 '25 01:05 SirZokxyron

You need to set browser.tabs.closeWindowWithLastTab and make sure ALL tabs are closed, even pinned

mr-cheffy avatar May 14 '25 09:05 mr-cheffy

@mauro-balades I did change this already, it changes nothing. Could it be related to having pinned tabs? But it doesn't even switch to a pinned tab when closing the last regular tab, so it's not really coherent either.

SirZokxyron avatar May 14 '25 10:05 SirZokxyron

I updated Zen to 1.12.4b, it only works when a tab is created, doing cmd-n then cmd-w does not work, you need to cmd-n -> type something -> enter cmd-w.

I really do not get this "feature", why would someone want this in the first place?

kantum avatar May 14 '25 10:05 kantum

@mauro-balades so is this expected behavior when having pinned tabs? Just curious if that's something that could be changed if it made more sense or if it's out-of-scope/uninteresting

SirZokxyron avatar May 14 '25 11:05 SirZokxyron

It is

mr-cheffy avatar May 14 '25 19:05 mr-cheffy

it used to work, but somewhere along the recent updates this year it had stopped working

z22sh avatar Aug 01 '25 08:08 z22sh