← Back to team overview

touch-packages team mailing list archive

[Bug 1324101] Re: need way to position menus and tooltips (relative positioning to parent)

 

** Changed in: mir
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1324101

Title:
  need way to position menus and tooltips (relative positioning to
  parent)

Status in Mir:
  Fix Released
Status in mir package in Ubuntu:
  Fix Released

Bug description:
  Without:

   (a) knowing root-relative coordinates

  and

    (b) having a way to specify that a window is created at a given
  position

  it is not possible to correctly position menus and toolbars.

  
  It would be nice if we either got those things or if Mir were to provide a mechanism by which we could specify a relative offset within our window and the display server take care of adjusting things if needed.

  The amount of adjustments required may be pretty complex, though:

   - move menus in from the side of the screen if they would run off

   - if it's a submenu and we move it in, we may rather need to move it
  to the other side of its parent menu

   - we also need to consider different rules for combobox-style popups

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