** Changed in: metacity (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to metacity in Ubuntu.
https://bugs.launchpad.net/bugs/959239

Title:
  _NET_WORKAREA calculation includes regions off-screen causing wrong
  result

Status in “metacity” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: metacity

  _NET_WORKAREA is not calculated correctly for the case of 2 monitors
  as follows:

  - leftmost monitor: 1024x786
  - rightmost monitor: 1440x900

  Leftmost monitor has a strut along the left-side, so is 786 pixels in
  height

  The _NET_WORKAREA calculation uses
  meta_rectangle_get_minimal_spanning_set_for_region to find all regions
  that are not covered by struts. However it finds such regions within
  the whole "screen" - a rectangle of width 1024+1440 = 2464 and height
  786+900 = 1686

  As a result, meta_rectangle_get_minimal_spanning_set_for_region
  returns a region below the viewable area of the left-most screen:

  x=0, y=786, width=1024, height=114

  This is outside the viewable screens.

  The _NET_WORKAREA calculation includes this region, with the
  consequence that the left-most strut is effectively ignored.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/959239/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to