Public bug reported:

Please add a function that will allow the developer to remove pages from
any higher-numbered columns than itself. This is similar to
removePages(targetPage) except that it does not remove the targetPage or
any pages in it's column.

Suggestion:

removeChildPages(targetPage)

Use Case:

in uReadIt I have a SubredditGalleryPage, which allows the user to swipe
back and forth through images from a subreddit like /r/funny. This will
occupy the 2nd column in my layout. Each image can have a CommentsPage
for it's comments opened in the 3rd column. When a CommentsPage is
opened for an image in SubredditGalleryPage, and the user changes to
another image, I would like to close the CommentsPage and any child of
it (such as a PostMessagePage)

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1534673

Title:
  [AdaptivePageLayout] Add function to clear higher columns of pages

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to