ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #06600
[Bug 1566231] Re: When changing Page.header, set previous header.parent to null.
This bug was fixed in the package ubuntu-ui-toolkit -
1.3.1984+16.10.20160527.2
---------------
ubuntu-ui-toolkit (1.3.1984+16.10.20160527.2) yakkety; urgency=medium
[ Christian Dywan ]
* Slimmer frame for TextFields: 0.5dp. Fixes LP: #1578190.
[ Albert Astals Cid ]
* Add override
The override specifier (since C++11) specifies that a virtual function
overrides another virtual function. In a member function declaration or
definition, override ensures that the function is virtual and is overriding
a virtual function from the base class.
[ Tim Peeters ]
* Fix reference error in PullToRefreshStyle. Fixes LP: #1582843
* Mark Tab, Tabs, TabBar, PageHeadConfiguration, PageHeadSections,
PageHeadState, ToolbarButton, ToolbarItems as deprecated in the
documentation. Fixes LP: #1566735, LP: #1566741.
[ CI Train Bot ]
* Resync trunk.
-- Zoltan Balogh <zoltan.balogh@xxxxxxxxxxxxx> Fri, 27 May 2016
07:08:44 +0000
** Changed in: ubuntu-ui-toolkit (Ubuntu)
Status: Fix Committed => Fix Released
--
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/1566231
Title:
When changing Page.header, set previous header.parent to null.
Status in Canonical System Image:
Fix Committed
Status in ubuntu-ui-toolkit package in Ubuntu:
Fix Released
Status in ubuntu-ui-toolkit package in Ubuntu RTM:
Fix Released
Bug description:
Currently when Page.header = header1, and then you set Page.header =
header2, header1.parent will be reverted to the parent that header1
had before it was assigned to Page.header (and thus re-parented to
that page).
Motivation: You want only one header at the same time to touch the
topMargins of a flickable. We will not set the flickable margins for a
header that is not visible or has parent null. So unsetting the parent
when the header is no longer active will revert the flickable margins.
Here we choose to change header.parent because header.visible may have
other bindings that we do not need to break this way.
Note: There will be no ownership transfer. We are changing the
parentItem, not the QObject parent.
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1566231/+subscriptions
References