** No longer affects: ubuntu-ui-toolkit

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1394511

Title:
  It should be possible to make Dialog respect its parent

Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Triaged

Bug description:
  In the future unity8 will rotate instead of having apps rotating
  themselves. So that launcher, edge gestures, panel and application UI
  all have the same orientation and rotate together nicely. This
  includes the dialogs shown by unity8, such as the power dialog that
  pops up when you long-press the power button.

  This is unity8's hierarchy:

  // the root item
  OrientedShell {

      // the actual Shell UI, which gets rotated
      Shell {
          rotation: someAngle

          Loader {
              Dialog {
              }
          }
      }
  }

  So we need the Dialogs to keep their parents so that they carry on the
  transformations applied to Shell, instead of being a sibling of it.
  This should be simple to accomplish as Dialog is an Item, and items
  are expected to respect their parents instead of reparenting
  themselves. So I'm just asking Dialog to *do less*.

  Dialog is an Item and thus inherits its public API. Items have a
  parent property that is free for the user to manipulate it. Dialog
  should respect it.

  Otherwise we will have to poke into Dialogs private API to achieve
  that, which is a fragile approach as that can break at any future
  release without warnings. Another bad option would be forking Dialog
  code, copying it over to unity8 code base (as we already do for the
  splash screen feature).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1394511/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-sdk-bugs
Post to     : ubuntu-sdk-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-sdk-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to