After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 633968 - Gnome-terminal flashes gray when switched to
Gnome-terminal flashes gray when switched to
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
0.24.x
Other Linux
: Normal normal
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-11-04 06:19 UTC by starofsouth@hotmail.com (Account disabled)
Modified: 2012-05-29 20:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description starofsouth@hotmail.com (Account disabled) 2010-11-04 06:19:42 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.
Comment 1 Behdad Esfahbod 2010-11-04 18:38:46 UTC
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.
Comment 2 starofsouth@hotmail.com (Account disabled) 2012-05-29 12:05:30 UTC
I still see this on version 3.0.1.
Comment 3 Christian Persch 2012-05-29 20:25:30 UTC
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.)