← Back to team overview

touch-packages team mailing list archive

[Bug 1534681] [NEW] [AdaptivePageLayout] Add signal for when a page is added

 

Public bug reported:

Add a signal for when a page is added to the AdaptivePageLayout that
incudes the page and column index as parameters

Suggestion:

pageAdded(page, columnIndex)

Use Case:

In uReadIt I want to respond to an ArticlePage being added to the 2nd
column by adding a CommentsPage to the 3rd column (only when in a 3+
column layout). But that must be done *after* the ArticlePage is added
to the AdaptivePageLayout. Both the ArticlePage.onCompleted callback, or
the incubator's onStatusChanged to Component.Ready are called *before*
the page is added to the AdaptivePageLayout.

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Wishlist
         Status: New

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

Title:
  [AdaptivePageLayout] Add signal for when a page is added

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  Add a signal for when a page is added to the AdaptivePageLayout that
  incudes the page and column index as parameters

  Suggestion:

  pageAdded(page, columnIndex)

  Use Case:

  In uReadIt I want to respond to an ArticlePage being added to the 2nd
  column by adding a CommentsPage to the 3rd column (only when in a 3+
  column layout). But that must be done *after* the ArticlePage is added
  to the AdaptivePageLayout. Both the ArticlePage.onCompleted callback,
  or the incubator's onStatusChanged to Component.Ready are called
  *before* the page is added to the AdaptivePageLayout.

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


Follow ups