GNOME Bugzilla – Bug 56912
iptraf makes zvt misdraw
Last modified: 2004-12-22 21:47:04 UTC
Hi, [This bug should be assigned to libzvt] Running iptraf makes zvt sometimes not draw things properly. Using another window to force zvt to redraw fixes the screen contents. Bug! (To reproduce: Run iptraf, play around a little until the screen draw glitches. [exiting from a monitoring screen to the main menu works]. Then take another terminal window, and cover the glitch region on the first. Notice how the glitch disappears.) Christian
changing to zvt
Can't reproduce it here. Has it been fixed?
No.
Tell me how to reproduce it. I've tried with no luck.
http://bugs.debian.org/102924 (To reproduce: Run iptraf, play around a little until the screen draw glitches. [exiting from a monitoring screen to the main menu works]. Then take another terminal window, and cover the glitch region on the first. Notice how the glitch disappears.)
Confirmed. This happens when you open the "Sort" menu in iptraf.
But are we 100% sure that it isn't a bug in the app? It seems to update correctly for part of the area that was covered by the sort menu...
Ignore me. Running iptraf in xterm clearly shows that libzvt is misbehaving here.
Has anyone tried multi-gnome-terminal with this? Are there patches to fix it there?
I can only reproduce display glitches when exiting the "General interface menu". This is after applying the two patches posted to gnome-devel-list@gnome.org today. Attaching screenshot so you can tell me if this is the same you're seeing. The glitches don't go away when I place a new terminal over the first one.
Created attachment 11828 [details] screenshot of display glitches
I see excalty the same but with gnome-terminal 2.0
The problem is caused by the behavior of 'CSI<xx>P' (Delete xx chars). libzvt copies the last charater on the line to the freed places, other terminals seem to fill the freed characters with the actual attributes.
Created attachment 11855 [details] [review] patch for 'CSI<xx>P' (see comment above)
Ups. Patch is against libzvt 2.0, but it applies to gnomelibs 1.2.13 as well goto ..../gnome-libs-1.2.13/zvt: patch -p2 < above-patch Sorry
Applied. Thanks.