XmText displays overwritten text

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

3 posts / 0 new
Last post
XmText displays overwritten text

Submitted by Anonymous (not verified) on Fri, 06/15/2012 - 12:07

I'm not sure how to describe this; I've been writing Motif applications pretty much since its inception, but I've never seen this before:
If a lot of text is written into an XmText widget, it seems that at some point, the text display gets corrupted. Specifically, it looks like the drawing point starts to wrap around and text that was written earlier gets overwritten with later text.
Is this a problem with the configuration of the widget? Or is this a bug?
Thanks
‹ newbee simple question Best way to poll the parallel port? ›

perini

Fri, 04/08/2005 - 22:10#1

XmText displays overwritten text

Whoops, the widget is an XmLabel, not XmText. The problem's still the same, though.

dpeterc

Sun, 04/10/2005 - 14:23#2

XmText displays overwritten text

I have this problem in XmTextField, when I mistreat it and feed it a single
line of 70000 characters.
It is most likely a Motif bug.
It could have to do something with the 32768 limit of window size and coordinate
space X Window; clipping does not work properly in X Window when you go across
those limits, so extra care needs to be taken when writing or drawing large
amounts of anything.
It is possible that Motif writers did not foreseee it.