pkgsrc-Bugs archive

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

Re: pkg/47777 (nedit from pksrc editors/nedit crashes when saving default settings and on more occasions)



The following reply was made to PR pkg/47777; it has been noted by GNATS.

From: Volkmar Seifert <vs%nifelheim.info@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: "OBATA Akio" <obache%netbsd.org@localhost>, 
pkg-manager%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost, 
marc%msys.ch@localhost
Subject: Re: pkg/47777 (nedit from pksrc editors/nedit crashes when saving
 default settings and on more occasions)
Date: Sun, 23 Jun 2013 12:06:21 +0200

 --Signature=_Sun__23_Jun_2013_12_06_21_+0200_56qrrWy8mdFixzQW
 Content-Type: text/plain; charset=US-ASCII
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Hello all,
 
 >  No response from upstream:
 >     http://sourceforge.net/p/nedit/bugs/668/
 >  But probably same issue as followings:
 >     https://bugzilla.redhat.com/show_bug.cgi?id=3D199770
 
 I checked those URLs, and the second one has an interesting workaround, unt=
 il the issue is properly fixed (by whomever is really responsible, this see=
 ms to be a OpenMotif-problem more than a nedit-problem).
 
 --quote--
 
 This seems to be a xlib problem with the composite extension. For now you h=
 ave
 two solutions:
 
 1) Set XLIB_SKIP_ARGB_VISUALS environment variable
    export XLIB_SKIP_ARGB_VISUALS=3D1
 
 2) Set visual for nedit to Default
    nedit -xrm "*VisualID: Default"
 
 --/quote--
 
 I tried the first, setting the environment-variable, and it solved the issu=
 e for now.
 
 Furthermore, it seems that this patch
 
 --quote--
 
 --- nedit-5.5/util/misc.c.visfix       2004-08-10 00:20:00.000000000 +0200
 +++ nedit-5.5/util/misc.c      2006-08-30 13:06:31.000000000 +0200
 @@ -384,6 +384,9 @@
        return (*visual =3D=3D DefaultVisual(display, screen));
      }
     =20
 +    /* Set "Default" visual to avoid crashes with the detected best ones */
 +    reqID =3D DefaultVisual(display, screen)->visualid;
 +   =20
      /* Read the visualID and installColormap resources for the application.
         visualID can be specified either as a number (the visual id as
         shown by xdpyinfo), as a visual class name, or as Best or Default. =
 */
 
 
 --/quote--
 
 is some kind of solution / workaround, too.
 
 The author claims that:
 "It still allows an user to redefine the default visual by the -xrm nedit o=
 ption, but it disables best visual detection and sets the Default one regar=
 dless the list of visuals which is available."
 
 
 - Volkmar
 
 --=20
 http://www.dimensionv.de/
 http://tech.nifelheim.info/
 
 --Signature=_Sun__23_Jun_2013_12_06_21_+0200_56qrrWy8mdFixzQW
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.12 (MingW32)
 
 iQGcBAEBAgAGBQJRxsidAAoJEBRfCnbSUnB4xHoL/RWCmtMZ3pCos9m+PiLLZ27S
 fvP8WQyHo4kaEWkBPhhXCUaeHPr2kHayeMlEzoc+WXI19ral8Fuk84YoDKNxZf3c
 3c+CyXSm17E2GlR8i1vIzeTchHQ44uSwwP+0FKKvE0jUYSeuu50t3ekXWZmn81ZZ
 7sbSJI36SuJ8/WfmUMFEAwsSGvpYZS+CTOlLYEbO8pm54LTI718+5XmcscWsawK+
 +jSEE7jJExvIceKDz4kNuRrijzcc724AjA4A1bvnhU7PAbBxTXMPKHhgFhwz+JDX
 SVX+uM4/U+Pufh4X11V25kLQNajyRC+66pvImNE+iJkUCSEjB+io4dzmvtYmos2l
 ABc3zXJaWYbVLVmcCO4xBva0B9sTo5Es5TCwQHW7nvh3WaSOMloC5YHVqeEzSE6z
 aBUDEH394uuAZecsmIzQgYMCtKT+X2w2e86US+vDYmF2I6qDPevb+3doXtIqnLqb
 JZWe37WeDnB2FnPKy/G8Q1WWjJ5s0O3p7YEdnJCinA==
 =4oCz
 -----END PGP SIGNATURE-----
 
 --Signature=_Sun__23_Jun_2013_12_06_21_+0200_56qrrWy8mdFixzQW--
 


Home | Main Index | Thread Index | Old Index