← Back to team overview

touch-packages team mailing list archive

[Bug 1485564] Re: Back button on a pagestack doesn't work with contenthub peer page

 

** Description changed:

- If you use a PeerSelector with content hub, using Ubuntu Components 1.2
- (so new headers), you don't have the bottom back selector, but the cross
- on the top header to cancel your peer selection doesn't work (it stays
- on the same page stack).
+ Because of the way the ContentPeerPicker works to allow itself to be
+ embedded in either a Page or a Dialog it's unable to automatically
+ dismiss itself correctly, so emits an "onCancelPressed" signal when the
+ user presses the cancel button. However this is currently missing from
+ the developer documentation, making it unclear to developers how the
+ peer picker should be dismissed.

** Changed in: content-hub (Ubuntu)
       Status: New => Confirmed

** Changed in: content-hub (Ubuntu)
     Assignee: (unassigned) => Michael Sheldon (michael-sheldon)

** Summary changed:

- Back button on a pagestack doesn't work with contenthub peer page
+ onCancelPressed is undocumented

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to content-hub in Ubuntu.
https://bugs.launchpad.net/bugs/1485564

Title:
  onCancelPressed is undocumented

Status in content-hub package in Ubuntu:
  Confirmed

Bug description:
  Because of the way the ContentPeerPicker works to allow itself to be
  embedded in either a Page or a Dialog it's unable to automatically
  dismiss itself correctly, so emits an "onCancelPressed" signal when
  the user presses the cancel button. However this is currently missing
  from the developer documentation, making it unclear to developers how
  the peer picker should be dismissed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/content-hub/+bug/1485564/+subscriptions


References