#1932 Return and enter the same in callback

obsolete: 8.4.11

When using [bind] and giving the callback the keysym substitution
(%K) Return and Enter both give a result of Return. This happens
at least on OS X but I heard it also happens on Windows.


  • Donal K. Fellows

    Logged In: YES

    IOW, 8.5 (at least on Windows) distinguishes between the two
    keys by way of a modifier flag (i.e. something you should
    normally ignore). Leaving open because it's not clear to me
    (as a non-Mac user) whether the Mac behaves the same in 8.5
    or not.

  • Donal K. Fellows

    • status: open --> open-out-of-date
  • Kristoffer Lawson

    Logged In: YES

    Whatever the model, it should be kept basically the same for
    all platforms (where it makes sense). I just hate
    platform-dependencies, especially when it is unnecessary.
    With MacOS Return and Enter usually act the same, but there
    are applications where this is not so. I reckon it is
    slightly more acceptable on MacOS than with Windows as even
    Macintosh laptops have a separate Enter key in addition to

    Perhaps Macs should use the UNIX model and support KP_Enter.

  • Don Porter

    Don Porter - 2007-10-31

    Logged In: YES
    Originator: NO


  • Don Porter

    Don Porter - 2007-10-31
    • assigned_to: hobbs --> kennykb
  • Kevin B KENNY

    Kevin B KENNY - 2007-10-31

    Logged In: YES
    Originator: NO

    I have no idea what to do about this on MacOSX. On Windows, what we do is definitely to be considered deprecated, since on Windows keyboards, the Enter key on the keyboard and the one on the numeric pad are labeled alike. Distinguishing them in documentation would be extremely challenging. Any ideas, Daniel?

  • Kevin B KENNY

    Kevin B KENNY - 2007-10-31
    • assigned_to: kennykb --> das

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks