gnome-terminal display corruption

Bug #23924 reported by Chris Moore
26
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNOME Terminal
Invalid
Medium
gnome-terminal (Ubuntu)
Fix Released
Medium
Sebastien Bacher

Bug Description

For the last few weeks I've been noticing that my gnome-terminal has been
misbehaving. I run irssi (IRC client) in screen(1) on a remote machine, which I
ssh to in a gnome-terminal window. For the most part I can leave the
gnome-terminal alone and watch the IRC conversation scroll up the screen. If I
leave it for too long however, the gnome-terminal window goes blank all apart
from the bottom line, which shows a single line of conversation.

Hitting 'page up' and 'page down' scrolls the irssi buffer up and down, but
doesn't fix the problem - the display stays 'wrong' in some way, missing bits of
text in places. One sure way to fix the situation is to hit control-a four time
(which is picked up by 'screen' and causes it to switch to the other screen and
back again). That fixes the display until it goes wrong again.

The problem only ever seems to have when I'm idling on IRC. If I'm active it
doesn't happen. Often I'll return to the gnome-terminal and find the display is
messed up.

I've not reported this as a separate bug until now because I don't know whether
gnome-terminal is at fault, or the remote (debian) machine. I'll upload a
screenshot when it happens next.

http://bugzilla.gnome.org/show_bug.cgi?id=319346: http://bugzilla.gnome.org/show_bug.cgi?id=319346

Revision history for this message
Chris Moore (dooglus) wrote :

Created an attachment (id=4588)
this is how the window looked when I came back to it

it happened again...

Revision history for this message
Chris Moore (dooglus) wrote :

Created an attachment (id=4589)
this is how it looked a few seconds later

I didn't touch anything. the bottom line keeps updating as people talk, but
the rest remains blank

Revision history for this message
Chris Moore (dooglus) wrote :

Created an attachment (id=4591)
this is the result of scrolling up and down

You might think that scrolling the buffer up and down would fix the display,
but it doesn't. It leaves blank bits at the top and bottom, as shown here.

Hitting control-l draws the screen correctly, but as soon as anyone speaks the
screen clears again apart from the last line.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Does it happen in other terminal clients too?

Revision history for this message
Chris Moore (dooglus) wrote :

That's a good question. I really only use gnome-terminal as a matter of course, but this afternoon I spent a few hours
experimenting with xterm.

I was running 1 gnome-terminal and 3 xterms, with all 4 logged into the same remote host, and all 4 connected to the
screen running irssi (using screen -x multiple clients can watch the same screen).

During all that time I only saw the bug happen once, and it happened in the gnome-terminal.

That's not very conclusive evidence really.

One thing though - all 4 windows were the same size, and so were presumably receiving the same characters from the remote
host - all 4 windows were 'in sync' until the gnome-terminal started to go wrong.

I will continue to investigate tomorrow - maybe with an eterm and a konsole as well. What other terminal emulators are
there I could try?

Revision history for this message
Chris Moore (dooglus) wrote :

Created an attachment (id=4600)
one of these terminal emulators is not like the others...

Revision history for this message
Chris Moore (dooglus) wrote :

Created an attachment (id=4601)
the same thing but with a different stacking order

Revision history for this message
Chris Moore (dooglus) wrote :

http://bugzilla.ubuntu.com/attachment.cgi?id=4600 and
http://bugzilla.ubuntu.com/attachment.cgi?id=4601 show a test I did with 6
different terminal emulators all connecting to a remote screen running irssi.

The one on the far left is gnome-terminal, and is the only one which shows the bug.

Revision history for this message
Matt Zimmerman (mdz) wrote :

*** Bug 23923 has been marked as a duplicate of this bug. ***

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for all the comments/screenshots. I've forwarded the bug upstream:
http://bugzilla.gnome.org/show_bug.cgi?id=319346. That's somewhat like
http://bugzilla.gnome.org/show_bug.cgi?id=127979

Revision history for this message
Phil Bull (philbull) wrote :

This appears to have been fixed:

http://bugzilla.gnome.org/show_bug.cgi?id=104841

Please re-open this bug if you're still getting this issue.

Changed in gnome-terminal:
status: Unconfirmed → Fix Released
Revision history for this message
Chris Moore (dooglus) wrote :

It looks like it's fixed.

Changed in gnome-terminal:
importance: Unknown → Medium
status: Invalid → Unknown
Changed in gnome-terminal:
status: Unknown → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.