Bugs item #1048304, was opened at 2004-10-16 06:21
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1048304&group_id=11005
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Program
Group: release
Status: Closed
Resolution: Fixed
Priority: 7
Private: No
Submitted By: qwerto (qwerto)
Assigned to: Eddy De Greef (edg)
Summary: Very slow resizing of Nedit window on Xorg 6.8
Initial Comment:
I've just changed from XFree to Xorg and now my Nedit
resizes very slow if I change the size of the window.
This is probably a Xorg problem but I have no problem
with any other program.
I've located the problem to a change from 5.1.1 (which
still resizes quick and smoothly) to 5.2 in
source/window.c:
Nedit 5.1.1 (window.c):
250:appShell = XtAppCreateShell(APP_NAME,APP_CLASS
Nedit 5.2 (window.c):
272:appShell = CreateShellWithBestVis(APP_NAME,APP_CLASS
If I change back from CreateShellWithBestVis to
XtAppCreateShell on 5.2 everything works fine again.
This can also be applied up to version 5.4. But on 5.5
the structure is changed a bit:
Nedit 5.5 (window.c):
363: winShell = CreateWidget(TheAppShell, "textShell",
topLevelShellWidgetClass, al, ac);
If i try to change the call from CreateWidget to
XtAppCreateShell (with respective arguments) Nedit
segfaults on line 666! ;)
666:menuBar = CreateMenuBar(mainWin, window);
I hope I have described my problem with enough details
now. Is it possible for you to make some work-around
for this problem with I guess is more related to Xorg?
My computer is a gentoo system with the following
details which could be of interest:
x11-base/xorg-x11-6.8.0-r1
x11-libs/openmotif-2.1.30-r5
x11-libs/lesstif-0.93.97 (not used by nedit what i can see)
sys-devel/gcc-3.3.4-r1
sys-libs/glibc-2.3.4.20040808-r1
Thanks for a otherwise superb editor!
// Erik
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2007-09-21 07:19
Message:
Logged In: NO
Same problem here.
$ nedit -V
NEdit 5.5
Sep 30, 2004
Built on: Linux, Pentium Pro, GNU C
Built at: Sep 21 2007, 12:58:17
With Motif: 2.2.3 [@(#)Motif Version 2.2.3]
Running Motif: 2.2 [unknown]
Server: The X.Org Foundation 10400000
Visual: 24-bit TrueColor (ID 0x23, Default)
Locale: de_DE
Gentoo-Linux
x11-base/xorg-x11-7.3
x11-libs/openmotif-2.3.0
sys-devel/gcc-4.2.0
sys-libs/glibc-2.6.1
as propposed this seems to solve the issue (using bash):
$ XLIB_SKIP_ARGB_VISUALS=1 nedit
# Jan
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2007-07-19 11:43
Message:
Logged In: NO
I have this same problem in more recent times.
$ nedit -V
UTF8 locale not supported.
NEdit 5.5
Sep 30, 2004
Built on: Linux, 386, GNU C
Built at: Oct 1 2004, 15:55:40
With Motif: 2.1.30 [@(#)Motif Version 2.1.30]
Running Motif: 2.1 [unknown]
Server: The X.Org Foundation 70101000
Visual: 32-bit TrueColor (ID 0x62)
Locale: en_US.UTF-8
The solution proposed above (setenv XLIB_SKIP_ARGB_VISUALS 1) seems to
solve.
Hope it helps.
----------------------------------------------------------------------
Comment By: Eddy De Greef (edg)
Date: 2005-02-12 04:06
Message:
Logged In: YES
user_id=73597
This is probably related to #1030467. A fix for #1030467 is
in CVS. Can you verify that it solves this problem too?
If that is not possible, can you at least check whether the
trick with the environment variable solves the problem?
----------------------------------------------------------------------
Comment By: Eddy De Greef (edg)
Date: 2005-02-11 03:45
Message:
Logged In: YES
user_id=73597
The problem is probably related to this:
http://www.x.org/X11R6.8/doc/RELNOTES5.html#41
Can you try setting XLIB_SKIP_ARGB_VISUALS and check whether
this solves the problem?
using bash:
XLIB_SKIP_ARGB_VISUALS=1 nedit
using (t)csh:
setenv XLIB_SKIP_ARGB_VISUALS 1
nedit
----------------------------------------------------------------------
Comment By: Scott Tringali (tringali)
Date: 2004-10-17 07:22
Message:
Logged In: YES
user_id=11321
You are using X.org 6.8, which is extremely new, and nedit
has not been tested against it. People have reported other
problems with 6.8, which I believe has to do with the
compositing manager. X.org 6.7 works fine (I use it daily).
You may try using the "visualID" resource (see the
documentation) and trying different values to see which is
fastest for you.
In addition to Help>Version, please include output from
"xdpyinfo".
----------------------------------------------------------------------
Comment By: Thorsten Haude (yooden)
Date: 2004-10-16 09:47
Message:
Logged In: YES
user_id=119143
Please send us the first 8 lines from "Help > Version" (or the
output from "nedit -V") which will give us extra information to
help us reproduce your problem.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1048304&group_id=11005
--
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop