Bugs item #2209302, was opened at 2008-10-30 19:38
Message generated for change (Comment added) made by ajhood
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=2209302&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: Motif
Group: release
Status: Open
Resolution: Duplicate
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: "Scroll up" screws display

Initial Comment:
When scrolling up one line the display shows the newly appearing line plus the 
second line repeating for the rest of the window. E.g. a "page up" results in a 
proper display of the file content again, while "page down" only shows the new 
content on the bottom properly, while the upper half is still the one line 
repeated.

NEdit 5.4
Nov 20, 2003

     Built on: Linux, 386, GNU C
     Built at: Nov 23 2003, 17:08:19
   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 0x154)
       Locale: en_US.iso885915

Nedit is running on a Scientific Linux 5 PC 
(Linux 2.6.18-92.1.13.el5)
Motif RPMs installed are:
openmotif-devel-2.3.0-0.4.el5
openmotif22-2.2.3-18
openmotif-2.3.0-0.4.el5


Regards
Andreas

----------------------------------------------------------------------

Comment By: Andrew Hood (ajhood)
Date: 2008-10-31 20:13

Message:
It will be using the Motif libraries on the system where NEdit runs. The
version on the system where your display is running does not matter. It
doesn't matter from which of my systems I run NEdit. At both the console
and remotely I get:
   With Motif: 2.1.30 [@(#)Motif Version 2.1.30]
Running Motif: 2.1 [@(#)Motif Version 2.1.30]

They report different X servers. At the console:
       Server: The XFree86 Project, Inc 40201000
       Visual: 24-bit TrueColor (ID 0x23, Default)
remotely (tunnelled via ssh on the one above):
       Server: Colin Harrison 60900031
       Visual: 24-bit TrueColor (ID 0x22, Default)


----------------------------------------------------------------------

Comment By: Grisu (luedeke)
Date: 2008-10-30 22:13

Message:
We use share libraries.
The problem is not the local Nedit installation: that is compiled against
the proper Motif version.
But if I login via ssh on an remote host running Scientific Linux 3 (we
have still many of those around here), then those PCs have Nedit with the
old motif version. But since the display is to my local PC, the motif
versions appear to be mixed up.

But now I see that the SL3 installation is wrong: there
openmotif-2.2.3-5.RHEL3.2 is installed but Nedit claims to use Motif
2.1.30.
Local at the SL3 PC it works fine, but remotely the problem happens.
Running a locally installed Nedit compiled again Motif 2.1.30 while
openmotif-2.3.0 is installed produces the same problem.

Can the problem come from the mismatch in the local and remote motif
library?

Thanks again for your help!

----------------------------------------------------------------------

Comment By: Andrew Hood (ajhood)
Date: 2008-10-30 21:48

Message:
In makefiles/Makefile.linux, if you follow the instructions for
-DHAVE__XMVERSIONSTRING it would report your Motif runtime version instead
of "[unknown]". If it's a static build they will always be the same. If
it's a dynamic build they might not be.
e.g.:
 ldd `which nedit`
        libXm.so.2 => /usr/X11R6/lib/libXm.so.2 (0x4002d000)
--snip--
 nedit -version
   With Motif: 2.1.30 [@(#)Motif Version 2.1.30]
--snip--

Running a 2.1.30 dynamic build on a system with 2.2.3 amd 2.3.0 runtime
might not be a good idea.

----------------------------------------------------------------------

Comment By: Grisu (luedeke)
Date: 2008-10-30 20:51

Message:
The workaround does not work.
I've typed: bash -c "export XLIB_SKIP_ARGB_VISUALS=1;nedit"
and still have the same problem.

I found a solution: using Nedit 5.5 compiled against motif 2.3 fixes the
problem.
It appears to be an incompatability of openmotif 2.3.0 with motif 2.1.
The version that works fine for me is:

NEdit 5.5
Sep 30, 2004

     Built on: Linux, 386, GNU C
     Built at: Mar 25 2007, 06:55:12
   With Motif: 2.3.0 [@(#)Motif Version 2.3.0] (UNTESTED)
Running Motif: 2.3 [unknown]
       Server: The X.Org Foundation 70101000
       Visual: 24-bit TrueColor (ID 0x21, Default)
       Locale: en_GB

Thanks for your help!

----------------------------------------------------------------------

Comment By: Eddy De Greef (edg)
Date: 2008-10-30 19:59

Message:
See bugs #1773770, #1710741 and #1458006.
If you set XLIB_SKIP_ARGB_VISUALS to 1, the problem will probably go
away.
Eg: XLIB_SKIP_ARGB_VISUALS=1 nedit

We have a workaround in CVS.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2008-10-30 19:53

Message:
Since I haven't registered: bug reporter's e-mail is [EMAIL PROTECTED]

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2008-10-30 19:49

Message:
I've checked with the latest binary version of Nedit 5.5 for linux-x86 and
have the same effect.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=2209302&group_id=11005
-- 
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to