Le 10 mai 07 à 17:44 Soir, Tim Jones a écrit: > On May 10, 2007, at 7:27 AM, Arnaud Nicolet wrote: > >> This is a Mac OS X behaviour, in my opinion. Everywhere I tested, >> this is the behaviour (for example, go to iTunes and edit the >> information (in the lyrics panel). You can press return to insert a >> new line and enter to "press" on OK. > > Yes, but according the Apple's HIG, the Enter and Return keys should > be handled the same if there is a default button. And I quote from > BOTH the definitions of Enter and Return: > > "If a dialog has a default button, pressing Enter (or Return) is the > same as clicking it." > > Depending on which version of the HIG you have, it's around pp 92 > (chapter 7, "User Input") > > So, I'm letting my BR stand.
I only have the Internet version of the HIG (but thanks for the information; I trust you without going watching). I wonder... Most of the time, the HIG is simplified for the subject. Maybe there's a more-specific tip in the EditField (well, the equivalent) chapter that say "If there's an editable field, the return key is reserved for inserting a new line.". Else, it seems strange iTunes, RB and any other app I've seen are against the HIG (and, additionally, when we make an RB app, the default behaviour (when we don't handle things specifically) is to map the return key for a new line and enter for the default button). _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
