← Back to team overview

compiz team mailing list archive

Re: [Bug 731685] Re: Panel shadow conflicts with Window shadow in Ubuntu Classic Desktop Session

 

On Wed, Jun 8, 2011 at 2:58 PM, Sam Spilsbury <smspillaz@xxxxxxxxx> wrote:
> 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.

To clarify, this is because shadows are drawn at the same level that
their respective window is, so because we have to stack panels on top
of everything else, the shadow would also go on top of everything else
which looks ugly.

Drawing the shadow underneath everything else means that we
essentially have to paint panels twice, which isn't really that great.

>
> 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 <vanvugt@xxxxxxxxx> 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.
>>
>
>
>
> --
> Sam Spilsbury
>


-- 
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


References