The problem is that the clipping algorithm for the shadows is rather
... simple. Basically when doing the panel shadow we look for windows
that are intersecting the shadow and don't draw the shadow there.
Fixing this would be quite complicated, since it requires that you
project the full geometry including the shape region of the decoration
in order to find a perfect intersection region.
On Wed, Jun 8, 2011 at 2:38 PM, Daniel van Vugt <email address hidden> wrote:
> Two screenshots are better than one...
>
> A theory: I suspect the problem here is unity-window-decorator. It's
> designed to expect unity itself to draw the panel shadow
> (unityshell.cpp?), but in Ubuntu Classic mode compiz expects the
> traditional compiz window decorator to draw the panel shadow, but the
> unity-window-decorator doesn't (??)
>
> ** Attachment added: "Screenshot.png"
> https://bugs.launchpad.net/ubuntu/+source/unity/+bug/731685/+attachment/2160213/+files/Screenshot.png
>
> --
> 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:
> New
> Status in Unity:
> Confirmed
> Status in “compiz” package in Ubuntu:
> New
> 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.
>
The problem is that the clipping algorithm for the shadows is rather
... simple. Basically when doing the panel shadow we look for windows
that are intersecting the shadow and don't draw the shadow there.
Fixing this would be quite complicated, since it requires that you
project the full geometry including the shape region of the decoration
in order to find a perfect intersection region.
On Wed, Jun 8, 2011 at 2:38 PM, Daniel van Vugt <email address hidden> wrote: decorator. It's decorator doesn't (??) /bugs.launchpad .net/ubuntu/ +source/ unity/+ bug/731685/ +attachment/ 2160213/ +files/ Screenshot. png /bugs.launchpad .net/bugs/ 731685
> Two screenshots are better than one...
>
> A theory: I suspect the problem here is unity-window-
> designed to expect unity itself to draw the panel shadow
> (unityshell.cpp?), but in Ubuntu Classic mode compiz expects the
> traditional compiz window decorator to draw the panel shadow, but the
> unity-window-
>
> ** Attachment added: "Screenshot.png"
> https:/
>
> --
> You received this bug notification because you are a member of Unity
> Bugs, which is subscribed to unity in Ubuntu.
> https:/
>
> Title:
> Panel shadow conflicts with Window shadow in Ubuntu Classic Desktop
> Session
>
> Status in Compiz:
> New
> Status in Unity:
> Confirmed
> Status in “compiz” package in Ubuntu:
> New
> 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.
>
--
Sam Spilsbury