What if the user didn't realize he'd picked Revert?

I believe that cancel should be default. I don't remember offhand where, but I've seen other dialogs like that - in general, to be nice the OK button has initial focus, so folks with full keyboard access can hit space, but return and cancel will cancel.

On Mar 12, 2007, at 10:10 PM, Allan Odgaard wrote:

On 13. Mar 2007, at 01:40, Chris Thomas wrote:

On Mar 12, 2007, at 2:56 PM, Allan Odgaard wrote:
• swap position of Revert and Cancel so that the affirmative choice is placed where affirmative choices are normally placed, gets the ↩ as shortcut key, plus makes ⌘. work to cancel the dialog
But the whole point of this dialog is to prevent accidental data loss.

Yes, but presenting a dialog with swapped Cancel / Okay (Revert) buttons is IMO a bad thing, as it violates consistency (return is *always* continue with current action) -- personally I do not read the text for most dialogs that popup, if I do something dangerous, I know that any dialog following my dangerous action just needs a return, or a ⌘. if I chose the action by mistake.

--
Kevin Ballard
http://kevin.sb.org
[EMAIL PROTECTED]
http://www.tildesoft.com


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/mailman/listinfo/textmate-dev

Reply via email to