Xref: utzoo comp.windows.x:28554 comp.windows.x.motif:977 Path: utzoo!attcan!uunet!wuarchive!cs.utexas.edu!sun-barr!ccut!wnoc-tyo-news!ricohgwy!patty!snoopy!ohayon From: ohayon@snoopy.src.ricoh.co.jp (Ohayon Tsiel) Newsgroups: comp.windows.x,comp.windows.x.motif Subject: XmLabel "Redisplay" Problem Message-ID: <3492@snoopy.src.ricoh.co.jp> Date: 22 Oct 90 00:45:56 GMT Reply-To: ohayon@snoopy.src.ricoh.JUNET (Ohayon Tsiel) Organization: Ricoh Software Research Center, Tokyo Lines: 50 Hi out there I'm using Motif1.1. and my machine is a Sun 3/60 (UNIX), the screen is B&W. I've created a "text" window to display Japanese since XmText does not support compound strings yet. This text window has its own widget class. This "text" window is a bulletin board (superclass) with an XmLabel, an XmMENU_BAR, and a XmSCROLLED_WINDOW. The scrolled window workarea is a XmDrawingArea. The only child to this XmDrawingArea is a XmLabel in which I display the Japanese text. Bulletin Board (superclass) | | ----------------------------------------- | | | XmLabel XmMENU_BAR(RowColumn) XmScrolledWindow | XmDrawingArea | XmLabel My problem is the following. When some of the text is cut off because the XmLabel Widget (the scrolled label Widget) is not wide enough, I get a core dump which looks like this: _XmStringLineAscender() at 0xb4cec _draw() at 0xb5b78 _XmStringDraw() at 0xb5d14 `Label`Redisplay() at 0x618f8 SendExposureEvent() at 0xdc868 CompressExposures() at 0xdc7e0 DispatchEvent() at 0xdc374 DecideToDispatch() at 0xdcc18 XtDispatchEvent() at 0xdcdac XtAppMainLoop() at 0xdd098 main(argc = 1, argv = 0xf7fffbd4) One funny thing about this problem is that when I run in the debugger dbx it breaks from time to time only ! Also when I switch to a color SS1 there is no problem. Is there a speed problem, since running in the debugger or one a color display is slower ? Also there is no problem when the XmLabel is wide enough. Has anybody encountered such a problem ? Thanks for any suggestions. T. Ohayon