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 591836 - mutter mishandles opacity
mutter mishandles opacity
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2009-08-14 18:31 UTC by Matthias Clasen
Modified: 2009-08-14 20:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Check the opacity of the right actor (1.08 KB, patch)
2009-08-14 19:58 UTC, Owen Taylor
none Details | Review

Description Matthias Clasen 2009-08-14 18:31:33 UTC
shotwell sets its tool popup windows to 75% opacity (which is a stupid thing to do, but anyway). mutter/gnome-shell does not render those windows correctly, they just show various part of the root background.

You can easily reproduce this on any window by doing

xset -f _NET_WM_WINDOW_OPACITY 32c -set _NET_WM_WINDOW_OPACITY 0xeeeeeeee

on any window.
Comment 1 Owen Taylor 2009-08-14 18:49:06 UTC
Mutter bug and pretty straightforward - the overdraw clipping is happening for windows with _NET_WM_WINDOW_OPACITY set on them, so it thinks it doesn't need to draw any of the windows behind it before drawing that window.
Comment 2 Owen Taylor 2009-08-14 19:58:30 UTC
Created attachment 140800 [details] [review]
Check the opacity of the right actor

When determining if the window is opaque or not, look at it's opacity,
not the opacity of the window group.

Reported by Matthias Clasen
Comment 3 Owen Taylor 2009-08-14 20:03:53 UTC
Pushed as obviously correct and not needing review. (Famous last words.)