← Back to team overview

dx-packages team mailing list archive

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

 

** Branch linked: lp:~unity-team/unity/trusty-1276177

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

Title:
  Shadow applied inconsistently to windows that use XShape

Status in Unity:
  Fix Committed
Status in Unity 7.2 series:
  In Progress
Status in unity package in Ubuntu:
  Fix Released

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