GNOME Bugzilla – Bug 767954
Fix screen shield arrow shadows
Last modified: 2016-06-23 17:04:13 UTC
It turns out that we weren't painting the shadow properly, see the patches.
Created attachment 330208 [details] [review] StShadowHelper: properly use the actor's box to paint the shadow We're using an unitialized box resulting in an undefined shadow box size. _st_paint_shadow_with_opacity() already computes the shadow's bounding box from the source actor's box so we just need to pass that along.
Created attachment 330209 [details] [review] ScreenShield: fix setting each arrow's opacity on _animateArrows()
Created attachment 330210 [details] [review] Arrow: compute a paint volume that accounts for the shadow Otherwise the shadow gets clipped to the actor's allocation.
Review of attachment 330209 [details] [review]: Yikes
Review of attachment 330208 [details] [review]: Ugh, that dates back to d6fe008b2c334f8f7 - how did that go unnoticed for so long?
Review of attachment 330210 [details] [review]: OK
Attachment 330208 [details] pushed as 3e93a1b - StShadowHelper: properly use the actor's box to paint the shadow Attachment 330209 [details] pushed as e02467e - ScreenShield: fix setting each arrow's opacity on _animateArrows() Attachment 330210 [details] pushed as 408211b - Arrow: compute a paint volume that accounts for the shadow