← Back to team overview

ubuntu-phone team mailing list archive

Heads up! When using AdaptivePageLayout, make sure your Page has a PageHeader.

 

Hello all,

As you probably know, some time ago we introduced the new PageHeader
component (see
https://developer.ubuntu.com/en/blog/2016/02/24/pageheader-tutorial/ ). An
instance of PageHeader can be assigned to Page.header to define the header
of a Page, and if no Page.header is specified, there is an automatic
fallback to the old header.

In AdaptivePageLayout (APL), there is also a fallback header in each
column, but that complicates the APL implementation, it is not fully
covered by tests, and does not support all the features of the new
PageHeader, so we will drop support for that soon. We need to do this
before we move the APL implementation to C++ (the API will be the same, so
no more changes in app code will be needed for that, but the APL will be
much faster), so please update your apps now if you are using APL but not
the new PageHeader.

We may update the deprecated APL column-header fallback to show a red
border before we remove it, as a final warning. The progress on the removal
can be followed here:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1583587

Comments/suggestions/discussion can be added to the bug report, or as a
reply to this e-mail.

Best regards,
Tim.

Follow ups