← Back to team overview

desktop-packages team mailing list archive

[Bug 703062] Re: Require to homogenize the meaning of the Geometry content

 

** Changed in: nux (Ubuntu)
       Status: In Progress => Invalid

** Changed in: nux (Ubuntu)
     Assignee: (unassigned) => Eleni Maria Stea (hikiko)

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

Title:
  Require to homogenize the meaning of the Geometry content

Status in Nux:
  Won't Fix
Status in Unity:
  Won't Fix
Status in nux package in Ubuntu:
  Invalid
Status in unity package in Ubuntu:
  Invalid

Bug description:
  As part of the support for the flat review, it is required a way to
  ask to the object his position [1]

  This method can be used to ask for the position of the object in
  absolute screen position or relative to the top level window where the
  object is placed.

  There is a implementation of this method for Area, using his Geometry
  object.

  The implementation supposes that the Geometry returns the absolute
  position of the object, so in the case of the absolute screen position
  the current implementation should work (I still need to fix that for
  the Window case).

  But after a brief chat with Jay Taoko, it seems that it is not true
  always, in some cases the Geometry of the object contains relative
  position. So the options here are:

    * Use the heuristic of the environment, and reimplement atk_component_get_extents on any nux/unity object that would require that  (for that it would be useful to have a list of the object which behaviour is different to the "rule")
    * Homogenize the meaning of the contents of the Geometry of a object

  This bug was created in order to track the final resolution of this
  issue.


  [1] http://library.gnome.org/devel/atk/stable/AtkComponent.html#atk-
  component-get-extents

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