In xterm, some rectangles are not redrawn when the window is partly covered
@vinc17
Submitted by Vincent Lefevre Assigned to Nouveau Project
Description
Created attachment 61438
file "text" used in the command to reproduce the bug
When an xterm window is partly covered by another window, not everything is redrawn. The problem can be reproduced in the following way (this is tested on a Debian/unstable machine). Run the following command:
$ xterm -geometry 80x60 -e 'sleep 10; cat text; sleep 999'
(with the file "text" that will be attached), then put a smaller window covering the middle of the right part, and wait for the text (after "sleep 10" terminates).
I'll also attach 2 snapshots showing the problem: the first one being what I obtain after the above steps (corrupt output), the second one being what I obtain after a full redraw (the correct output), e.g. when switching the desktop and going back (one can also move a window over the xterm window).
The corresponding Debian bug report:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640464
Attachment 61438, "file "text" used in the command to reproduce the bug":
text