Unity, and any app for that matter, needs to switch to using the MainWindow in place of a (QQuick)Window as the root item (or MainView in the case of legacy apps). Currently it's in the Labs module, in staging. "units" is a regular property of MainWindow, as well as "i18n" and soon "theme". It also has an "organizationDomain" property as required by Unity.
** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in Ubuntu. https://bugs.launchpad.net/bugs/1573118 Title: "units" context property is app-global Status in ubuntu-ui-toolkit package in Ubuntu: Fix Committed Bug description: The "units" context property has no idea about which screen it is on, making it impossible to have different grid unit values per window in a single app. This would be the case, for example, when one app has multiple windows on different screens. We're landing a workaround for this for use in unity8 (the only case supported today where a single app has multiple windows on different screens). Long-term we might need UITK 2.0 to fix this proper. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: qml-module-ubuntu-components 1.3.1918+16.04.20160404-0ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6 Uname: Linux 4.4.0-21-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 CurrentDesktop: Unity Date: Thu Apr 21 17:54:33 2016 SourcePackage: ubuntu-ui-toolkit UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1573118/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp