[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#250916: lesstif2: Again #174065: nedit: "File > Open > file" New window freeze



tags 250916 patch
quit

On Tue, May 25, 2004 at 10:22:06PM +0200, Hannes M?ller wrote:
> Package: lesstif2
> Version: 1:0.93.94-3
> Severity: normal
> 
> Please reopen #174065, since this bug occurs again and seems to be
> lesstif related (see also #210281).
> 
> > #174065:
> > When i open nedit from console via `nedit file1' and then open
> > a next file via `File > Open > file2' the new window freeze.
> > The cursor blinks, but you cant use the pulldown menus
> > or move the cursor or input some text.

OK, found the real culprit.

DialogS is realising the widget before it has been created properly!

The following patch should fix the problem.

Can someone NMU please?
-- 
Visit Openswan at http://www.openswan.org/
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Index: lib/Xm/DialogS.c
===================================================================
RCS file: /home/gondolin/herbert/src/CVS/debian/lesstif/lib/Xm/DialogS.c,v
retrieving revision 1.4
diff -u -r1.4 DialogS.c
--- a/lib/Xm/DialogS.c	9 May 2004 10:36:47 -0000	1.4
+++ b/lib/Xm/DialogS.c	26 May 2004 14:02:52 -0000
@@ -326,7 +326,6 @@
     {
 	XtHeight(new_w) = 1;
     }
-    XtRealizeWidget(new_w);
 }
 
 
Index: lib/Xm-2.1/DialogS.c
===================================================================
RCS file: /home/gondolin/herbert/src/CVS/debian/lesstif/lib/Xm-2.1/DialogS.c,v
retrieving revision 1.4
diff -u -r1.4 DialogS.c
--- a/lib/Xm-2.1/DialogS.c	9 May 2004 10:36:47 -0000	1.4
+++ b/lib/Xm-2.1/DialogS.c	26 May 2004 14:02:39 -0000
@@ -326,7 +326,6 @@
     {
 	XtHeight(new_w) = 1;
     }
-    XtRealizeWidget(new_w);
 }
 
 

Reply to: