GNOME Bugzilla – Bug 635647
StScrollView: "shadows" don't work on non-black backgrounds
Last modified: 2010-12-04 11:17:30 UTC
Created attachment 175136 [details] current look overview-relayout branch. It would be neat if the dissolve effect in the app overview dissolved instead of going to black. That looks a bit odd right now with the hard edge.
We can easily do the fade-out by doing the rendering of the children to a fbo, but whether that will give decent performance impact is a bit unknown.
Created attachment 175572 [details] [review] StScrollView: Remove shadow It does look out of place for non black backgrounds, so it is better to remove it until we have something which does not look to weird.
Review of attachment 175572 [details] [review]: Hmmm, the commit message does not match the patch ;-) If you want to leave the actual shadow code in place, instead of removing the CSS I'd change the constructor calls to not enable the shadows. And last and least a nitpick - "to weird" should be "too weird".
(In reply to comment #3) > Review of attachment 175572 [details] [review]: > > Hmmm, the commit message does not match the patch ;-) > > If you want to leave the actual shadow code in place, instead of removing the > CSS I'd change the constructor calls to not enable the shadows. My idea was to leave the code in place and just not have a default one assigned. So if one for whatever reason wants a shadow for another scrollview, it would work (by explicitly setting it). ex. altTab if it gets ported to StScrollView (assuming it doesn't suck like it did back when I added the scrolling to altTab). > And last and > least a nitpick - "to weird" should be "too weird". ...
(In reply to comment #4) > My idea was to leave the code in place and just not have a default one > assigned. I don't have a strong opinion on that - the commit message should match what you are actually doing though. "StScrollView: Remove default shadow style" with the above explanation in the body works for me ...
Created attachment 175579 [details] [review] StScrollView: Remove default shadow style Remove the default shadow style but still allow StScrollView users to use a shadow by explicitly setting it.
Attachment 175579 [details] pushed as 670048e - StScrollView: Remove default shadow style