I hate you Ctrl+W!!

So there I was typing a lengthy comment on a certain message board . . . . As I approached the end of my message, I happened to start a sentence with a word beginning in “W”. So I held what I believed to be the Shift key, and pressed W – Poof! No more browser window. Lengthy message lost. Turns out I had hit Ctrl+W by mistake. And that’s the second time that’s happened to me this week!

Why, for the love of all that’s human, did they make Ctrl+W a shortcut to close the window?! Why, when we already have Alt+F4 for this same purpose, did anyone think I would need another way to instantaneously erase all my work? And one so easy to mistakenly type at that!

And on a serious note, is there any way to turn this god damn feature off?

I hate that. I type on the Dvorak keyboard, and W and V are right next to each other.

Oh, the comments and postings I have lost because I was trying to paste something for a URL and accidentally hit ctrl+w instead of ctrl+v.

My keyboard is labeled qwerty so it’s not like I can just look, I touch type and if you point to a random key I’d have to stop and think about what it is to be able to tell you… maybe I should just paint some white-out on my V key or something.

If there’s a way to turn off that “feature” I also want to know.

I like ctrl+w. In Opera it closes the current window but leaves the remainder open. Ctrl+Q is the evil one - same function as ctrl+w and RIGHT freakin’ next to it. :mad?

And the ? is right under the :, too. :mad:

Someone asked me how to close a window. I said you press

While we’re at it, whose bright idea was it to put the key commands for Undo and Save right next to each other? I can’t count the number of times I’ve lost work because I hit “S” when I meant to hit “Z.”

saw thread topic

wondered what ctrl W did

found out empirically

shakes fist at Leesha

Sit down, sonny.

The reason Windows PCs use Control-W to close windows is that once upon a time PC programs had no general conventions for keyboard commands that would be the same in all programs. DOS programs each had their own unique set of commands and the first crop of Windows programs were like that, too.

But the Macintosh had relatively simply keyboard commands that all software developers were supposed to use, and most of them did, so Command-S was Save and Command-O was Open and Command-W was Close Window and Command-X was Cut and Command-C was Copy and Command-V was Past and Command-Z was Undo and Command-P was Print and so forth. They were easy to remember, compared to typical PC keystrokes where Alt-Shift-F7 might be the command to close a certain specific window (whether it was the window you were working in or not) or Ctrl-F8 might be the command for bringing up printing preferences within which you would issue the actual Print command, etc. So Microsoft decided to embrace standards and, in a relatively unusual move, embraced the Mac standards rather than stealing the idea and replacing the specifics with something else. (Mac users everywhere should rejoice at this).

Of course, PC keyboards don’t have the Mac command key. So a decision was made to take the conventional Mac shortcuts and substitute the Control key for the Mac command key. Control-O opens your documents. Control-P prints your documents. You use Control-X, C, V, Z, respectively, to Cut, Copy, Paste, and Undo. And yeah, you use Control-W to close a window. (Oddly enough, very few software vendors of PC software had used Control key in conjunction with a single letter key like that, so the new commands hardly ever did anything unexpected if you tried to use them with older software — it just didn’t do the anticipated function).

It’s not our fault that the Control key is located rather close to the Shift key. Such is not the case with the Mac Command key, which is below the letter “X” key and just to the left of the spacebar. Indeed, Microsoft could’ve gone with Alt-letterkey as the default. Maybe Alt-letterkey was already largely in use, unlike Control-letterkey, I don’t know.

Anyway, that’s how it came about and you’re now equipped to answer trivial questions on the subject :slight_smile:

uh, Tim started the topic, so it would make more sense as shakes fist at Tim

Wha’d I do?

look at post #9, I caught my error

Y’know what just occurred to me? Most programs will prompt you to save changes before closing a window, regardless of how it’s closed. Browsers don’t do this because they’re generally for viewing content, rather than creating it.

BUT…how hard would it be for a browser to pop up a window that said something like:

“You have entered text into a form on this page. Are you sure you want to close this window?”

Would save Dopers a lot of grief, I think.

Pity they didn’t also pinch the Command-apple-W thingy to close all windows. I’m getting old; I’d like to save as many keystrokes as I can.

FYI, “command” and “apple” are the same key. They changed the key name to “apple” about the same time that Mac keyboards started coming with a Control key.

OK, it’s been a long time. It must’ve been Option-apple-W. But there were a command which closed all open windows. I miss it. :frowning:

Of course, nowadays, they could go back to using what is essentially what Apple has been doing the whole time, thanks to the Windows key.

And as extra salt in the OP’s wounds, with MacOS X 10.3 you can arbitrarily remap any menu command in any program to almost any keystroke combination you want. If you want (say) Safari to close windows with Apple-Shift-Control-W, for instance, you can just use the Keyboard preferences and set up the mapping in 30 seconds.

(Not that I ever accidentally close a browser window by acci