Public bug reported: On unity8 PreviewPayments.qml has a Payments item that listens to onPurchaseCompleted onPurchaseError onPurchaseCancelled and relies those to the scope.
The problem is that there's no guarantee that the PreviewPayments item will be around for the whole buying process, since i can press the buy button and quickly press the back button before the payui shows up so it will get destroyed. We need to evaluate how bad is if those signals from libpay are lost and if it is bad think of a way to make this more resilient. ** Affects: unity-scope-click (Ubuntu) Importance: Undecided Status: New ** Affects: unity8 (Ubuntu) Importance: Undecided Status: New ** Also affects: unity8 (Ubuntu) Importance: Undecided Status: New ** Description changed: On unity8 PreviewPayments.qml has a Payments item that listens to - onPurchaseCompleted - onPurchaseError - onPurchaseCancelled + onPurchaseCompleted + onPurchaseError + onPurchaseCancelled and relies those to the scope. The problem is that there's no guarantee that the PreviewPayments item - will be there, since i can press the buy button and quickly press the - back button before the payui shows up. + will be around for the whole buying process, since i can press the buy + button and quickly press the back button before the payui shows up so it + will get destroyed. We need to evaluate how bad is if those signals from libpay are lost and if it is bad think of a way to make this more resilient. ** Summary changed: - unity-scope-click relies on the preview counterpart for communication with libpay-ui + unity-scope-click relies on unity8 Preview Item for communication with libpay-ui ** Summary changed: - unity-scope-click relies on unity8 Preview Item for communication with libpay-ui + unity-scope-click relies on unity8 Preview Item for communication with libpay -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unity8 in Ubuntu. https://bugs.launchpad.net/bugs/1552318 Title: unity-scope-click relies on unity8 Preview Item for communication with libpay Status in unity-scope-click package in Ubuntu: New Status in unity8 package in Ubuntu: New Bug description: On unity8 PreviewPayments.qml has a Payments item that listens to onPurchaseCompleted onPurchaseError onPurchaseCancelled and relies those to the scope. The problem is that there's no guarantee that the PreviewPayments item will be around for the whole buying process, since i can press the buy button and quickly press the back button before the payui shows up so it will get destroyed. We need to evaluate how bad is if those signals from libpay are lost and if it is bad think of a way to make this more resilient. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity-scope-click/+bug/1552318/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp