This is readily demonstrated with matrix.c example of xbaeMatrix 4.60.04 and OSF/Motif 2.1 or OpenMotif 2.3. Does not occur with LessTif
If one selects text within a cell from left to right the full string is selected and a new value can be typed in as expected (e.g. select "Orange" in the first column and change to "violet").
If one selects text from right to left and insures the mouse button up occurs within the text box the full string is selected and the new value can be typed in as expected.
However, if one selects text from right to left and swipes the mouse past the left edge of the text widget before release mouse button, the entire string is selected but the new text cannot be typed in correctly. Upon entry of new characters, the entered characters remain selected and highlighted so that each subsquent character, or couple characters, replaces the previous character or two just typed.
The problem cannot be reproduced on text OSF/Motif or Open Motif widgets not embedded in the xbaeMatrix, nor does the problem occur when xbaeMatrix build/run in LessTif.
Problem has been reproduced in:
Aix / Motif 2.1
Fedora 8 / OpenMotif 2.3
1) xbaeMatrix contifured to use text widget not xbaeInput widget
2) When text widget is in the 'funky' state of new keystrokes remaining selected, other controls are affected. For example in an XTerm window, one is not able to double click a word/string to select/highlight the string.