On Tue, Aug 9, 2011 at 5:20 PM, Daniel van Vugt <[email protected]> wrote: > Actually, the above bug 900 was already fixed as launchpad bug 91786. > That fix was present up to maverick but go dropped in natty because an > alternate fix was applied upstream to compiz 0.9.4, and so was in natty. > It is that alternate fix in compiz 0.9.4 which is flawed and the cause > of this bug.
The fix that was in maverick was essentially a hack. We can't have it upstream because it paints windows twice. There is a smarter way to do the shadow clipping the way I have it upstream, namely, you need to project the transformed window geometry of windows below the shadow and set that to be the clip region of the panel shadow. I know that the blur plugin does this (see blur.cpp:projectRegion and blur.cpp:projectVertices) > > -- > You received this bug notification because you are a member of Unity > Bugs, which is subscribed to unity in Ubuntu. > https://bugs.launchpad.net/bugs/731685 > > Title: > Panel shadow conflicts with Window shadow in Ubuntu Classic Desktop > Session > > Status in Compiz: > In Progress > Status in Unity: > Confirmed > Status in “compiz” package in Ubuntu: > In Progress > Status in “unity” package in Ubuntu: > Confirmed > > Bug description: > When logging in with the session 'Ubuntu Classic Desktop' (with the > traditional gnome environment) there seems to be a problem with the > panel shadows drawn by Compiz. When moving a window close to one of > the panels, the shadows seem to cancel one another out. I've attached > a screenshot to show what I mean. > > To manage notifications about this bug go to: > https://bugs.launchpad.net/compiz/+bug/731685/+subscriptions > -- Sam Spilsbury -- You received this bug notification because you are a member of compiz packagers, which is subscribed to compiz in Ubuntu. https://bugs.launchpad.net/bugs/731685 Title: Panel shadow conflicts with Window shadow in Ubuntu Classic Desktop Session To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/731685/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~compiz Post to : [email protected] Unsubscribe : https://launchpad.net/~compiz More help : https://help.launchpad.net/ListHelp

