#566 Strange "growing tab" problem on Solaris

release
open
nobody
Program (402)
5
2006-11-09
2006-11-09
Peter Fales
No

This is a somewhat obscure problem, but I thought I'd
go ahead and report it in case anyone has seen it or
has any ideas.

Under normal circumstances, when tabbed windows are
used, and a macro is defined or invoked, the tab is
expanded to display a status message. Then, when the
macro is done, the tab returns to its normal size.

However, we're seeing cases where each time the macro
is invoked the tab becomes larger (vertically) to the
point where it can take up a large portion of the
screen. A screen shot is attached.

We only see this on Solaris, and then only when
/usr/openwin/lib/X11/fonts/F3bitmaps/ is at the
beginning of the X fontpath. I'm at a loss to go about
debugging it - I'm particularly curious whether any
other solaris users can verify this and (whether or not
you see the bug) which version of
Motif/Lesstif/Openmotif you are using. We're using a
statically linked copy of lesstif-0.93.94 (as that's a
version which is "approved" for use with nedit)

To reproduce, make sure that "xset q" shows
/usr/openwin/lib/X11/fonts/F3bitmaps/ at the beginning
of the fontpath. If not, run "xset +fp
/usr/openwin/lib/X11/fonts/F3bitmaps/". Then open up
an editing session with two tabs (e.g. "nedit file1
file2").
Start repeatedly pressing Alt+K. The first time, the
tab will expand to show the message "Learn Mode --
Press Alt+K to finish...". The next time, the message
disappears, and the tab returns to normal. Each
successive key press causes the tab to "grow" until it
resembles the attached screen shot.

Any suggestions are welcome!

Discussion

  • Peter Fales

    Peter Fales - 2006-11-09

    Screen shot of bug

     
  • Thorsten Haude

    Thorsten Haude - 2006-11-09

    Logged In: YES
    user_id=119143

    Please send us the first 10 lines from "Help > Version" (or the
    output from "nedit -V") which will give us extra information to
    help us reproduce your problem.

     
  • Thorsten Haude

    Thorsten Haude - 2006-11-09

    Logged In: YES
    user_id=119143

    I think I've seen this before...

    Nope, can't find it in the tracker. Does someone else share
    my dejavu?

     
  • Peter Fales

    Peter Fales - 2006-11-09

    Logged In: YES
    user_id=150101

    Here's the output from "nedit -V"

    NEdit 5.5
    Sep 30, 2004

    Built on: Solaris, Sparc, GNU C
    Built at: Nov 7 2006, 13:53:28
    With Motif: 2.1.0 [@(#)GNU/LessTif Version 2.1 Release
    0.93.94]
    Running Motif: 2.1 [unknown]
    Server: The X.Org Foundation 70000000
    Visual: 16-bit TrueColor (ID 0x23, Default)
    Locale: C

     
  • Scott Tringali

    Scott Tringali - 2006-11-09

    Logged In: YES
    user_id=11321

    Using LessTif on Solaris? That's strange, since Solaris
    comes with Motif. Or does Solaris come with LessTif these
    days? I ask because you are likely the only person in the
    world using Nedit + Solaris + LessTif.

    That version of LessTif may be "not known bad" on Linux, but
    it hasn't been validated on Solaris.

     
  • Peter Fales

    Peter Fales - 2006-11-09

    Logged In: YES
    user_id=150101

    Another clue?

    I tried rebuilding with the Solaris Motif and the problem
    went away. "nedit -V" from that version reports:

    NEdit 5.5
    Sep 30, 2004

    Built on: Solaris, Sparc, GNU C
    Built at: Nov 9 2006, 15:21:07
    With Motif: 1.2.3 [@(#)OSF/Motif Version 1.2.3]
    Running Motif: 1.2 [unknown]
    Server: Sun Microsystems, Inc. 3510
    Visual: 24-bit TrueColor (ID 0x27, Default)
    Locale: C

     
  • Peter Fales

    Peter Fales - 2006-11-09

    Logged In: YES
    user_id=150101

    We run nedit on a number of different platforms. I was
    hoping to use lesstif on all platforms to keep things as
    consistent as possible between the different machines.
    However, we could probably live with using the native
    Solaris version if we had to. Are there are any
    user-visible differences between Motif 1.2.3 (which is what
    I seem to get on Solaris 2.5.1) and 2.1 (which is what we
    get with Lesstif)?

     
  • Scott Tringali

    Scott Tringali - 2006-11-09

    Logged In: YES
    user_id=11321

    NEdit doesn't use any 2.x options. There is no visible
    difference. You could standardize on LessTif but for any
    platform other than Linux I think you'll be treading new
    group and acting as a LessTif tester. (And, to some degree,
    even on Linux, too.)

    The easiest think is to use the binaries we compile since
    we've gone through the headache of testing them all over the
    place. The second easiest thing would be to compile your
    own exactly as we compile the binaries.

     
  • TK Soh

    TK Soh - 2006-11-09

    Logged In: YES
    user_id=411637

    Trust me, you want to use the Solaris native version ;-)

    NEdit is Motif 1.2 compatible. I don't think I ever saw any
    visual differences between platforms using 1.x and 2.x Motif.

     
  • Peter Fales

    Peter Fales - 2006-11-10

    Logged In: YES
    user_id=150101

    For the record, I was also able to reproduce this problem
    (lesstif bug) on a Linux system, after copying over the font
    files from a Solaris 8 system.

    The procedure I used was:
    - Copy the /usr/openwin/lib/X11/fonts/F3bitmaps directory
    from a Solaris 8 system to a scratch location on the Linux
    system (e.g. /tmp/F3bitmaps/)
    - Put that directory at the beginning of the font path with
    "xset +fp /tmp/F3bitmaps"
    - Run nedit with two tabs: (e.g. "nedit /tmp/file1 /tmp/file2")
    - Hit Alt+K several times to demonstrate the problem

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks