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 550670 - SnowIsh theme with gnome terminal under compositing metacity
SnowIsh theme with gnome terminal under compositing metacity
Status: RESOLVED OBSOLETE
Product: metacity
Classification: Other
Component: Iain's compositor
2.22.x
Other All
: Normal normal
: ---
Assigned To: Metacity compositor maintainers
Metacity compositor maintainers
Depends on:
Blocks:
 
 
Reported: 2008-09-03 14:25 UTC by gan lu
Modified: 2017-06-12 11:34 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
A screenshot of a glitch in action. (29.35 KB, image/png)
2008-11-21 13:34 UTC, Screwtape
Details

Description gan lu 2008-09-03 14:25:38 UTC
Please describe the problem:
SnowIsh theme works wired with (only) gnome terminal under and (only) when metacity compositor is turned on.

Steps to reproduce:
1. Download SnowIsh theme from gnome-look.org (http://nuovext.pwsp.net/snowish/files/SnowIsh-Theme.tar.gz)
2. Turn on metacity compositor
3. Open gnome terminal


Actual results:
Blank or transparent glitch.

Expected results:
The same with metacity compositor turned off or under compiz

Does this happen every time?
Always, tested under Arch and Federa 9, both 2.22.0 or 2.23 series.

Other information:
Comment 1 gan lu 2008-09-03 14:28:03 UTC
I am not sure this is caused by or even related to metacity's compositor, but this wired problem doesn't occur under compiz (compiz-decorator-gtk) or metacity turned off, so I guess SnowIsh theme triggered a potential bug in metacity.
Comment 2 Screwtape 2008-11-21 13:31:19 UTC
I have seen something similar to this in my own themes, where if:

 - Metacity's compositor is enabled
 - A client window is using an RGBA visual (such as gnome-terminal)
 - GTK+ based draw_ops don't appear (such as gtk_arrow, gtk_box, or gtk_vline)

This is not specific to the SnowIsh theme; it happens with the Atlanta theme on my machine.
Comment 3 Screwtape 2008-11-21 13:34:20 UTC
Created attachment 123169 [details]
A screenshot of a glitch in action.

A screenshot of the glitch in action with the Atlanta theme. Notice:

 - The terminal window in the background is an RGBA window (the desktop icon shows through)
 - The active and inactive Calculator windows both have a gtk_arrow for the menu and a gtk_vline between the titlebar and the buttons
 - The terminal window has neither arrow nor vline.

Not pictured: The gtk_box in the buttons' ACTIVE state is drawn on the calculator windows, but not on the Terminal window.
Comment 4 Screwtape 2008-11-22 04:21:52 UTC
Also may be relevant: I found this in ~/.xsession:

Window manager warning: Log level 8: gtk_paint_arrow: assertion `style->depth == gdk_drawable_get_depth (window)' failed
Comment 5 iain 2008-11-22 13:25:58 UTC
Ah, I know what is causing this. Its got nothing to do with the original bug though.

Refiled as Bug 561911 – Gtk draw ops are trying to draw to an incorrect depth on ARGB windows
Comment 6 Thomas Thurman 2008-11-23 14:04:49 UTC
Duping then

*** This bug has been marked as a duplicate of 561911 ***
Comment 7 iain 2008-11-23 14:11:08 UTC
This isn't a duplicate of the other bug, which is why I opened the other bug.