← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1546546] Re: ProportionalShape is a square if width == 8gu

 

** Also affects: canonical-devices-system-image
   Importance: Undecided
       Status: New

** Changed in: canonical-devices-system-image
       Status: New => Fix Committed

** Changed in: canonical-devices-system-image
   Importance: Undecided => Medium

** Changed in: canonical-devices-system-image
     Assignee: (unassigned) => Zoltan Balogh (bzoltan)

** Changed in: canonical-devices-system-image
    Milestone: None => ww08-2016

-- 
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/1546546

Title:
  ProportionalShape is a square if width == 8gu

Status in Canonical System Image:
  Fix Committed
Status in ubuntu-ui-toolkit package in Ubuntu:
  Fix Released

Bug description:
  ProportionalShape {
      width: units.gu(8)
      ...
  }

  does not generate a 16:15 shape, but a 1:1 shape. Looking at the code,
  it seems that that's because the default size of a UbuntuShape is 8gu,
  so when setting that size on the ProportionalShape doesn't cause the
  emission of the widthChanged() signal and consequently skips the
  execution of the code in ucproportionalshape.cpp which should update
  the height.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1546546/+subscriptions


References