metacity should support _UNITY_NET_WORKAREA_REGION

Bug #798156 reported by Andrea Cimitan
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Unity
Invalid
Undecided
Unassigned
unity-2d
Fix Released
High
Unassigned
metacity (Ubuntu)
Fix Released
Undecided
Sam Spilsbury
unity (Ubuntu)
Invalid
Undecided
Unassigned
unity-2d (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: metacity

I'm copy-paste the explanation by Sam Spilsbury:
_NET_WORKAREA_REGION x, y, width, height CARDINAL[][4]/32

This property MUST be set by the Window Manager upon calculating the
total workarea region for the currently active desktop. Contains a
series of rectangles describing the area not covered by strut windows.
Work area region SHOULD be used by override redirect windows to ensure
that they position themselves in places that do not occlude struts.

The Window Manager SHOULD calculate this space by taking the currently
active desktop space minus space occupied by dock and panel windows, as
indicated by the _NET_WM_STRUT or _NET_WM_STRUT_PARTIAL properties set
on client windows.

Rationale: Currently, there are cases where override redirect windows
must be able to place themselves in positions that are not occluding
strut windows. With _NET_WORKAREA this is partially possible, but only
tells these clients of a single rect that they can place windows within.
This excludes the cases where there are struts that only partially cover
the screen (eg _NET_WM_STRUT_PARTIAL) or there are struts that cover the
space between multiple monitors (eg a top/bottom case with the Unity
Panel)

David Barth (dbarth)
Changed in unity:
milestone: none → iteration-2
assignee: nobody → Thomas Thurman (marnanel)
Revision history for this message
Andrea Cimitan (cimi) wrote :

NOTE: compiz already has a branch that does this, so you can simply look into it

Omer Akram (om26er)
Changed in metacity (Ubuntu):
status: New → Confirmed
Changed in unity (Ubuntu):
status: New → Confirmed
Changed in unity:
status: New → Confirmed
Changed in unity:
milestone: 4.2.0 → 4.4.0
Changed in unity:
milestone: 4.4.0 → 4.6.0
Changed in unity:
milestone: 4.6.0 → 4.8.0
Gerry Boland (gerboland)
Changed in unity-2d (Ubuntu):
status: New → Confirmed
Gerry Boland (gerboland)
Changed in metacity (Ubuntu):
assignee: nobody → Sam Spilsbury (smspillaz)
Gerry Boland (gerboland)
Changed in unity-2d:
status: New → Confirmed
importance: Undecided → High
Omer Akram (om26er)
Changed in unity:
milestone: 4.8.0 → none
assignee: Thomas Thurman (marnanel) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package metacity - 1:2.34.1-1ubuntu8

---------------
metacity (1:2.34.1-1ubuntu8) precise; urgency=low

  * debian/patches/102_workarea.patch,
    debian/patches/103_struts_in_the_middle.patch,
    debian/patches/104_workarea_union.patch:
    - FFe/UIFe: add barriers and multimonitor strut support for unity-2d
      (LP: #798156, #947249, #950774, #954175)
 -- Didier Roche <email address hidden> Thu, 15 Mar 2012 11:09:17 +0100

Changed in metacity (Ubuntu):
status: Confirmed → Fix Released
Gerry Boland (gerboland)
Changed in unity-2d:
status: Confirmed → Fix Released
Changed in unity-2d (Ubuntu):
status: Confirmed → Fix Released
Changed in unity:
status: Confirmed → Invalid
Changed in unity (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.