Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!usc!henry.jpl.nasa.gov!elroy.jpl.nasa.gov!hacgate!goddard@aic.hrl.hac.com From: goddard@aic.hrl.hac.com Newsgroups: comp.windows.x Subject: Athena Text Widget bug Message-ID: <6110@hacgate.UUCP> Date: 18 Nov 89 01:37:16 GMT Sender: news@hacgate.UUCP Reply-To: goddard@aic.hrl.hac.com Organization: Hughes Aircraft Co., El Segundo, CA Lines: 11 The Athena Text Widget does not create the Atoms for the Cut Buffers until the actions select-start() and extend-end() have been executed. A call to XtTextSetSelection is not sufficient to create CUT_BUFFER0, which is used in the action insert-selection. This causes XmuInternAtom to exit the program. A (kludge) solution is to cause the actions select-start and extend-end to be executed immediately after the call to XtTextSetSelection, by using the appropriate event translation. Nigel Goddard