New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 665646 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: 2016-11-16
OS: Android
Pri: 1
Type: Bug



Sign in to add a comment

Payments UI blocks interaction after cancelling payment app

Project Member Reported by rouslan@chromium.org, Nov 15 2016

Issue description

Version: 56.0.2913.0
OS: Android 6.0.0; Nexus 6P Build/MDB08Q

What steps will reproduce the problem?
(0) Ensure that Android Pay has at least one card.
(1) Open https://rsolomakhin.github.io/pr/.
(2) Tap "Buy" on page.
(3) Tap on "Android Pay" item to expand the "Payment" section.
(4) Tap on "Android Pay" item again to collapse the "Payment" section.
(5) Tap "PAY" at the bottom of the sheet.
(6) Cancel the Android Pay payment via the "<" button on the phone.
(7) Tap anywhere on the payment UI.

What is the expected result?
UI should respond.

What happens instead?
UI is not responding.

Please use labels and text to provide additional information.

PaymentRequestUI is blocking all animations because mSectionAnimator is non-null. mSectionAnimator should become null when FocusAnimator fires its callback. However, that appears to never have happened.
 
bug.mp4
4.8 MB View Download
NextAction: 2016-11-16
Status: Started (was: Assigned)
The buggy behavior started happening after http://crrev.com/2441833003
Video of the fix in http://crrev.com/2509523002. Ignore the "request failed" messages from the payment app. My dev build does not have the right API keys.
fix.mp4
22.6 MB Download
Project Member

Comment 5 by bugdroid1@chromium.org, Nov 16 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4c2b5f98bda899dd8b51da159c35f7a589f7c7f8

commit 4c2b5f98bda899dd8b51da159c35f7a589f7c7f8
Author: rouslan <rouslan@chromium.org>
Date: Wed Nov 16 01:24:14 2016

Do not block interaction after cancelling payment app.

BUG= 665646 

Review-Url: https://codereview.chromium.org/2509523002
Cr-Commit-Position: refs/heads/master@{#432335}

[modify] https://crrev.com/4c2b5f98bda899dd8b51da159c35f7a589f7c7f8/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java

Status: Fixed (was: Started)
Components: -UI>Browser>Autofill>Payments UI>Browser>Payments

Sign in to add a comment