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

#517 strange scrolling bug?

release
closed-fixed
Eddy De Greef
Program (402)
5
2007-08-04
2006-03-24
schloob
No

here's my version information:
Built on: Linux, Athlon, GNU C
Built at: Mar 23 2006, 18:33:02
With Motif: 2.2.3 [@(#)Motif Version 2.2.3]
Running Motif: 2.2 [unknown]
Server: Gentoo (The X.Org Foundation 6.8.2,
revision r6-0.1.13) 60802000
Visual: 32-bit TrueColor (ID 0x130)
Locale: C

so here's what happens: whenever i scroll up using the
mouse wheel or scrollbar (the page-up key works fine
usually), the screen bugs out and all i see is like 4
lines of text repeated over and over. if i use the
scrollbar, it's usually only one line of text repeated
on the screen. scrolling down works fine!

i've included four screenshots of what i mean.
normal.png : before i've scrolled
after_scrollup.png : after scrolling up with the mouse
wheel once
after_selectall.png : after i hit ctrl-a to select all
the text, seems to fix the problem - probably because
it forces a complete screen redraw?
uparrow.png : this was after i press the up arrow when
the cursor is at the top of the screen (therefore
making it scroll up). ctrl-a fixes this too.

this could possibly be a motif bug, because the same
thing happens in the help window that shows version
information. i haven't seen this behavior in any other
motif applications though, i'm trying a few out but i'm
not seeing anything. it might be the text widget that
nedit uses. i've tried both the statically linked
pre-compiled binaries and fresh compiled ones.

thanks

Discussion

<< < 1 2 (Page 2 of 2)
  • Thorsten Haude
    Thorsten Haude
    2007-03-18

    Logged In: YES
    user_id=119143
    Originator: NO

    (Seems to be at least partly independent of XLIB_SKIP_ARGB_VISUALS.)

     
  • Thorsten Haude
    Thorsten Haude
    2007-03-18

    • status: closed --> open
     
  • Logged In: NO

    Before nedit (perhaps 5.5) up scrolling was a problem solved invoking XLIB_SKIP_ARGB_VISUALS=1 nedit
    Now it is not necessary in locale execution of nedit, but the problem still remains with remote nedit.
    I encounter these problem in Ubuntu linux 6.10 and 7.04 (both i386 and x86_64). In other linux distributions nedit works without problems. I don't know why but only Ubuntu is affected.

    > it seems to be some kind of X-related problem, possibly between Motif and X.

     
  • Eddy De Greef
    Eddy De Greef
    2007-05-07

    Logged In: YES
    user_id=73597
    Originator: NO

    What is the remote system?
    Please show us the output of "nedit -V".

    I can imagine that setting the XLIB_SKIP_ARGB_VISUALS variable has no effect if the remote system does not have the X.org libraries (eg. Solaris) but the local system runs an X.org server (eg. Linux).

    Other distros may not have this problem because they don't enable the X composite extension by default. You can try to disable it too (Option "Composite" in xorg.conf), but then you may lose some eye-candy in other applications.

     
  • Logged In: YES
    user_id=1844003
    Originator: NO

    I'd like to have this bug reopened. Can I help to find the cause for it?

     
  • Eddy De Greef
    Eddy De Greef
    2007-07-20

    • assigned_to: nobody --> edg
    • status: open --> pending-fixed
     
  • Eddy De Greef
    Eddy De Greef
    2007-07-20

    Logged In: YES
    user_id=73597
    Originator: NO

    I've reinstated the old 32-bit visual check that tries to avoid ARGB visuals. That check should cover most cases where NEdit is displaying remotely and XLIB_SKIP_ARGB_VISUALS has no effect.
    Can anyone confirm that it works with the latest CVS version?

     
    • status: pending-fixed --> closed-fixed
     
  • Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • Logged In: NO

    Platform note: on RedHat FC8/AMD64, the problem exists as described, when using the NEdit.org supplied binary (32 bit version, OpenMotif). Setting XLIB_SKIP_ARGB_VISUALS to 1 seems to solve the problem. (The default RPM version of NEdit, compiled with Lesstif, does not have the scrolling problem, but Lesstif is horribly buggy, and NEdit frequently locks up hard when accessing the clipboard or the Find dialog.)

     
<< < 1 2 (Page 2 of 2)