[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#738794: xterm: the right part of the window is not always erased



On Mon, Feb 17, 2014 at 01:24:58AM +0100, Vincent Lefevre wrote:
> On 2014-02-16 17:55:37 -0500, Thomas Dickey wrote:
> > The likely explanation for the problem in clearing is from setting the
> > top/bottom scrolling margins (done in CASE_HP_MEM_LOCK), and prevents the
> > portion above the top-margin from being cleared.  Either a soft- or
> > full-reset (which you can do from the middle menu) resets the scrolling
> > margins.
> 
> Neither the soft-reset not the full-reset clears the right part.
> 
> Now I'm wondering whether what I can see on the right side are parts
> of characters at column 81; indeed this corresponds to the leftmost
> pixels of existing characters. The xterm has 80 columns, but the
> window contains a few more pixels on the right, so that this could
> explain the behavior.

ah.  When I examined the figure, I only noticed the "<0:57:39" at the
top of the screen.  Reading your latest message, I notice the glitches
in the window's border area.  I believe that's in the area set by

       internalBorder (class BorderWidth)

and since it defaults to 2 pixels, is easily something that might be
overlooked in calculations - particularly if it's related to fonts which
draw outside their cell, and xterm's clipping doesn't go that far.

(I've seen this, but not often enough to have a scenario where it can
be reproduced...)

-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


Reply to: