GNOME Bugzilla – Bug 633968
Gnome-terminal flashes gray when switched to
Last modified: 2012-05-29 20:25:30 UTC
Open fullscreen some other program with dark content. Then open a gnome-terminal window and make the background black and make it also fullscreen. Now, when you task switch to gnome terminal, you see this light gray flash before the content of the window is shown. This is killing my eyes when I work in the night. You might need an older machine to fully appreciate this effect. I use 1.2 GHz with 450 megs of ram. This doesn't seem to be a problem of the window manager (Metacity) since other programs don't exhibit this problem.
Fixed in current versions already. commit 48a7718d143a03b28b4c708e054c1ea6f44c942a Author: Behdad Esfahbod <behdad@behdad.org> Date: Tue Sep 28 15:02:08 2010 -0400 Revert "Revert 9370647823ce29c1088c351381a07a5506b74c84" This reverts commit dab50851a395069492218115caf44361b742b20c. Again, set widget background color to the terminal background color. This removes flicker when resizing the terminal/widget.
I still see this on version 3.0.1.
The following commits removed this code, because it made setting 'use theme colours' in gnome-terminal not work correctly: commit e68cfbac308e98d704fbca579bab53998904c7ad Author: Christian Persch <chpe@gnome.org> Date: Thu Oct 27 23:10:56 2011 +0200 Don't override the widget background colour The comment was inaccurate; we always do draw the background colour even when the background mode is NONE. Removing the colour override makes theme colours working again in gnome-terminal's gsettings branch. commit e6a83f6175c2865385c80deec1f7ed79650f7d58 Author: Christian Persch <chpe@gnome.org> Date: Thu Oct 27 23:09:31 2011 +0200 Use to GtkStyleContext ... instead of the obsolete GtkStyle. As for the original bug itself, I think this is due to using an input-output GdkWindow instead of an input-only window. (Note that g-t 3.0.x / vte 0.28.x still contained that code, meaning that it didn't fix this bug.)