← Back to team overview

touch-packages team mailing list archive

[Bug 1364225] Re: Shadow applied inconsistently to windows that use XShape

 

Thanks a lot for the test case, I'll look into this!

** Tags added: decorations

** Tags removed: decorations
** Tags added: new-decorations

** Changed in: unity
       Status: New => Triaged

** Changed in: unity (Ubuntu)
       Status: Confirmed => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity in Ubuntu.
https://bugs.launchpad.net/bugs/1364225

Title:
  Shadow applied inconsistently to windows that use XShape

Status in Unity:
  Triaged
Status in “unity” package in Ubuntu:
  Triaged

Bug description:
  When using the XShape APIs*, windows that have a rectangular shape are
  treated like normal windows (they get a title bar and shadow) even if
  the rectangular region is much smaller than the window.

  When a non-rectangular window changes its shape to be rectangular, it
  gains a shadow that remains even after changing its shape back to be
  non-rectangular.

  Ideally there would always be a shadow that matches the shape of the
  window.

  In the mean time, the correct behavior might be to remove the shadow
  whenever a shape is applied. If the application wishes to remove an
  applied shape, they could do something like:

    XShapeCombineMask(d, w, ShapeBounding, 0, 0, None, ShapeSet);

  Please let me know if you need any more details, or if I'm missing
  something. (Unfortunately, the ubuntu-bug tool wouldn't work when
  filing this bug).

  * http://www.x.org/releases/current/doc/xextproto/shape.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1364225/+subscriptions