Xbae overrides osfCancel key binding
Brought to you by:
dannybackx
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
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
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.