Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

W always worked in my Safari like this:

  1. it closes all tabs
  2. if there's no tab, it closes the window.

Now, #2 is not working anymore.

Any clues?

share|improve this question
Did you try without any extensions enabled? – patrix Nov 21 '12 at 17:06
yes, no change at all. – SpaceDog Nov 21 '12 at 20:17
So you have one Safari window open, with one tab, press Cmd-W and nothing happens? – patrix Nov 21 '12 at 22:21
yes. Nothing happens. – SpaceDog Nov 22 '12 at 1:08
up vote 2 down vote accepted

Go to your System Preferences… application, and select the Keyboard pane.

Hit the Keyboard Shortcuts tab on top, and Application Shortcuts on the left. Is there an entry for Close Tab ⌘W or an entry for Close Window that's set to something else? If so, remove it with the +- widgets at the bottom of the window.

Without knowing what other applications you're running, that's the first place I can think of to check what might be intercepting it.

share|improve this answer
When I first detected this problem the behavior of safari was this: CMD W did not close any tab or window. THen I went to this window and added an entry for Close Tab as CMD W. Now If I have a safari window with multiple tabs, CMD close the tabs. When all tabs are closed and I am with just one safari window without tabs, CMD W does nothing. In the past, CMD W would close all tabs than the window where there was not more tabs to close. – SpaceDog Nov 22 '12 at 1:12
AHA! That phrase of yours "applications intercepting it", lighted a bulb in my brain! That's it. I have installed an upgrade of Better Touch Tool that was using CMD W and crapping Safari!!! /&%#/&%#$!!!! Thanks – SpaceDog Nov 22 '12 at 1:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.