Menu

#52 Xbae overrides osfCancel key binding

open-accepted
Bugs (67)
5
2004-07-04
2004-07-02
No

Hello,

In Matrix.c, one sees this:

<Key>osfCancel :
CancelEdit(False)\n\

I consider this a harsh violation of the general Motif
usability guidelines. The key ("Esc" usually) in any
well-behaving dialog (with "Cancel" button) is mapped
to ManagerParentCancel(), but XbaeMatrix overrides
this. I suggest to use e.g. Ctrl <Key>osfCancel
instead. Of course, it can always be overriden on a
per-application/user basis.

Regards,
Evgeny

Discussion

  • Evgeny Stambulchik

    • summary: Xbae overrides osfCancel key --> Xbae overrides osfCancel key binding
     
  • Danny Backx

    Danny Backx - 2004-07-04
    • assigned_to: nobody --> dannybackx
    • status: open --> open-accepted
     
  • Danny Backx

    Danny Backx - 2004-07-04

    Logged In: YES
    user_id=39146

    I see several approaches to this :

    1. Simple solution is to change Xbae as Evgeny suggests.

    2. More complicated solution is to get Xbae to support both,
    except when it's in a dialog. In that latter case, only the
    Ctrl-Escape would be used.

    3. A third possibility is to use an additional resource to
    specify
    which sequence Xbae should use.

    You can go on and on, of course.

    Solutions #1 and #2 appear reasonable to me. Any suggestions?

    Danny

     
  • Evgeny Stambulchik

    Logged In: YES
    user_id=27019

    New suggestion: when #1121687 is fixed, <Key>osfCancel
    should be bound to CancelEdit(True). Then first Esc will
    leave the cell being edited and transfer navigation focus to
    the next TAB group, and the second Esc will do what it's
    supposed to do, depending on context. Probably an ideal
    solution.

     

Log in to post a comment.

MongoDB Logo MongoDB