Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#646 "Scroll up" screws display

release
open-duplicate
nobody
Motif (9)
5
2008-10-30
2008-10-30
Anonymous
No

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

Discussion

  • Screenshot of scroll-up bug

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

     
  • Since I haven't registered: bug reporter's e-mail is void@bluewin.ch

     
  • Eddy De Greef
    Eddy De Greef
    2008-10-30

    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.

     
  • Eddy De Greef
    Eddy De Greef
    2008-10-30

    • milestone: --> release
    • status: open --> pending-duplicate
     
  • Grisu
    Grisu
    2008-10-30

    • status: pending-duplicate --> open-duplicate
     
  • Grisu
    Grisu
    2008-10-30

    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!

     
  • Andrew Hood
    Andrew Hood
    2008-10-30

    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.

     
  • Grisu
    Grisu
    2008-10-30

    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!

     
  • Andrew Hood
    Andrew Hood
    2008-10-31

    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)