[comp.windows.x] Athena Text Widget bug

rgcote@mit-vax.LCS.MIT.EDU (Rob Cote) (01/18/89)

Simple question: why does the Athena text widget scroll on overflow whether
or not the scroll on overflow option is set??

Has anyone else noticed this problem? Is this a bug? Is there someway to get
the widget to only scroll on overflow if the option is set?

I have submitted at least two other messages about this problem and have not
seen a reply (unless one was sent while I was away for the holidays, in which
case I profusely apologize). Are my messages making anywhere?

Is there someone at Athena who is supposed to handle problems/bug reports/user
questions such as this?

		Thanks for any and all help given,

				Rob 
				rgcote@koppel.lcs.mit.edu
				rgcote@vx.uucp


-- 
and none of this of course will stand when I stand before the man on that great
day of the great divide when all the kings and queens will have their closets
emptied and the bones them bones them dry bones will not fail dead men will 
tell tales and you can laugh I can laugh we can laugh but its not funny -the 77s

swick@ATHENA.MIT.EDU (Ralph R. Swick) (01/20/89)

>Simple question: why does the Athena text widget scroll on overflow whether
>or not the scroll on overflow option is set??

it's a bug.

>Is there someone at Athena who is supposed to handle problems/bug reports/user
>questions such as this?

no, but if you sent a bug report to xbugs@expo.lcs.mit.edu we'll handle
them as best we can with the amount of spare time we have.

goddard@aic.hrl.hac.com (11/18/89)

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

kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) (12/08/89)

> The Athena Text Widget does not create the Atoms for the Cut Buffers
> until the actions select-start() and extend-end() have been
> executed. 

Looking at my (new) code I don't see this as a problem for R4.  If you want me
to be absolutely sure then send me a *** SHORT *** example program.


						Chris D. Peterson     
						MIT X Consortium 

Net:	 kit@expo.lcs.mit.edu
Phone:   (617) 253 - 9608	
Address: MIT - Room NE43-213