[2266] in testers

home help back first fref pref prev next nref lref last post

Sun Bugs: vtwm.gamma and xterm scrollbars

daemon@ATHENA.MIT.EDU (Harry Tsai)
Wed Jul 28 22:20:16 1993

To: testers@Athena.MIT.EDU
Cc: vtwm-bugs@Athena.MIT.EDU
Date: Wed, 28 Jul 93 22:20:10 EDT
From: Harry Tsai <hftsai@Athena.MIT.EDU>

The Sun vtwm.gamma has problems with toggling an xterm scrollbar.

If you start an xterm without a scroll bar then toggle it on, the
scroll bar appears, but the xterm window gets extended by about a line
and a half, leaving a strip of white space below the scroll bar and
the text in the window.  Furthermore, this white space is slightly
taller than one line of text, making the window an illegal size.  This
can all be fixed by toggling the scroll bar again.  The window returns
to its previous size.

The scrollbar's initial state doesn't matter.  If you start the xterm with
the scrollbar then toggle it off, the window expands.  Toggle the bar back
on, and the window contracts to its initial size.

Things get a little more interesting when you try to resize the window.
Changing the window's size seems to "reset" the bug.  The scrollbar takes
on the height of the new (resized) window.  The next scrollbar-toggle will
always expand the window, never contract it.  This probably has something
to do with the window returning to a "legal" size.

Note that you don't actually have to change the size of the window
yourself.  If you press and release the resize button (or whatever f.resize
is bound to) without moving any of the window borders, the window still
changes size -- the extra half-line disappears from the bottom.  The window
snaps back to a legal size, though it's still one line taller than it ought
to be.  As above, the next scrollbar-toggle will make the window expand again.

This is a bug in vtwm.gamma only.  It didn't show up in vtwm, twm, or mwm.


							Harry Tsai

home help back first fref pref prev next nref lref last post