[11947] in Athena Bugs

home help back first fref pref prev next nref lref last post

Bug in XmTextField widget: some actions not recognized

daemon@ATHENA.MIT.EDU (rnewman@MIT.EDU)
Tue Apr 12 00:08:16 1994

From: rnewman@MIT.EDU
Date: Tue, 12 Apr 1994 00:07:48 -0400
To: motif-defect@osf.org
Cc: bugs@MIT.EDU, yandros@MIT.EDU, svalente@MIT.EDU, rei@MIT.EDU
Cc: nazgul@alfalfa.com, rnewman@MIT.EDU, motif@ora.com, motif@MIT.EDU


Submitter Information (Include Email address at miminum) 
---------------------

Submitter Name:	Ron Newman
Organization:	MIT Project Athena
Email Address:	<rnewman@mit.edu>
Phone:		252-1705


Hardware/Software Configuration
-------------------------------

Offering and Version:	Motif 1.1.5, 1.2.3
Component (Module):	Toolkit (TextF.c)
OSF License Number:	23
Client Hardware:	doesn't matter
Client Software:	doesn't matter
Server Hardware:	doesn't matter
Server Software:	doesn't matter
Compiler:		doesn't matter

Problem Description
-------------------

Severity Level:

	Severe -- represents a problem which resulted in software functionality
			limitation but had alternative work-around.

Date of First Occurrence:

	April 8, 1994

One Line Description:

	Many XmText action routines don't work for XmTextField

Full Description:

The XmTextField widget's action routines are documented to be "the
same as those of XmText when XmNeditMode is set to XmSINGLE_LINE_EDIT",
but this does not seem to be the case.  It is understandable that the
line, page, and paragraph-related actions are not there, but what about these?
	
	beep
	insert-string
	kill-next-character
	kill-next-word
	kill-previous-character
	kill-previous-word
	kill-selection
	kill-to-end-of-line
	kill-to-start-of-line
	process-down
	process-home
	process-return
	process-tab
	process-up
	redraw-display
	secondary-notify
	select-adjust
	select-end
	select-start
	set-insertion-point
	set-selection-hint
	stuff
	unkill

I am trying to provide Emacs-equivalent key bindings for both Text
and TextField widgets in my application, and the lack of the "kill-"
actions in TextField makes it impossible to provide a uniform user interface.
(I have to use "delete-" instead for TextField.)

I've only tried this for 1.1.5, but my perusal of the 1.2.3 sources
doesn't suggest this has been fixed.

Repeat By:

	Try putting any of the above in a translation table for 
an XmTextField widget.

Proposed Solution:

	Implement them or change the documentation to indicate that
they are NOT implemented for XmTextField.



home help back first fref pref prev next nref lref last post