Public bug reported:

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.

** Affects: metacity (Ubuntu)
     Importance: Undecided
         Status: New

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

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to