New issue
Advanced search Search tips

Issue 832056 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Regression: Selection highlight is not seen on Avatar bubble after tapping/touching on it.

Reported by db...@etouch.net, Apr 12 2018

Issue description

Chrome Version: 67.0.3395.0 Revision 19ac07e50344cdf4089e5d1b696958867736fc03-refs/heads/master@{#549859} (32/64 bit)
OS: Windows(10Touch device)

What steps will reproduce the problem?
(1) Launch chrome, open NTP and Tap/Touch on Avatar icon(Avatar bubble gets opened).
(2) Now Tap/Touch on Guest or Manage People option and observe.

Actual: Selection highlight is not seen on options after tapping on it.

Expected: Selection highlight should seen options after tapping on it.

This is a regression issue, broken in M-67 series, and provinding bisect using per-bisect revision.

Good Build:67.0.3377.0(Revision:544611 )
Bad Build:67.0.3378.0(Revision:544931)

You are probably looking for a change made after 544665 (known good), but no later than 544666 (first known bad).

CHANGELOG URL:
The script might not always return single CL as suspect as some perf builds might get missing due to failure.

https://chromium.googlesource.com/chromium/src/+log/1f7826eeb68096157f8067db9e8edf82a26278b0..bda1898036dc3ddac9e4d5f9df2f76f68b072d51

Suspect: https://chromium.googlesource.com/chromium/src/+/bda1898036dc3ddac9e4d5f9df2f76f68b072d51

Note: Issue is touch specific and it is  not seen on Click event.



 

 
Actual_Highlight.mp4
800 KB View Download
Expected_Highlight.mp4
141 KB View Download

Comment 1 by db...@etouch.net, Apr 12 2018

Labels: -Type-Bug-Security Type-Bug-Regression
Components: -Blink UI>Browser>Profiles
Cc: tangltom@chromium.org
Owner: pkasting@chromium.org
Peter, I don't have a touch device to debug this issue. The problem was most likely introduced with one of my changes to the HoverButton.
Could someone from the Windows team take a look at this?

If you need any help let me know!
Thanks,
 Thomas
Owner: pbos@chromium.org
pbos@, since you're already looking at avatar button stuff, maybe you and tangltom can work together to debug this fairly quickly?

Comment 5 by pbos@chromium.org, Apr 12 2018

Cc: pkasting@chromium.org pbos@chromium.org
Owner: tangltom@chromium.org
I think your CL broke it by either of:

* not accepting gesture events:
 https://cs.chromium.org/chromium/src/ui/views/controls/button/menu_button.cc?l=169&rcl=8d42e256c037c60f839b90571d50b5d784a2df27
* not returning MenuButton::IsTriggerableEvent(event) which would've accepted EF_GESTURE_TAPs

I assume that replacing Button::IsTriggerableEvent(event) with MenuButton::IsTriggerableEvent(event) would address this. Assigning it back to you to make this change if it's appropriate. I don't know if you intended to bypass MenuButton here.

Comment 6 by pbos@chromium.org, Apr 12 2018

This line might be relevant too:

https://cs.chromium.org/chromium/src/ui/views/controls/button/button.cc?l=311&rcl=41e1ddb4aaadbba95c09939e903dce7615a5fea8

I haven't read into it too much, if you don't think this would address it please assign it back to me and I'll look back into it.
Owner: pbos@chromium.org
Hi pbos@. Yes, our intention is to bypass MenuButton here because MenuButtons
are activated on mouse press rather than mouse release and we want HoverButton
to be activated on mouse release. However, I unfortunately can't debug touch events because no one in our team has a desktop (or laptop) machine with touch screen.

To the bug:
I also think that the change has to be made in HoverButton::IsTriggerableEventType or adding HoverButton::OnGestureEvent.

I just talked to my manager and he said that ordering a touch device would take around 4 weeks. Could you take this on?
Reassigning to you to resolve this please.
Project Member

Comment 8 by bugdroid1@chromium.org, Apr 18 2018

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

commit dfdc271f89660811340a88f4deb10c4021369039
Author: Peter Boström <pbos@chromium.org>
Date: Wed Apr 18 02:58:33 2018

Trigger HoverButton on touch release (not tap)

When crrev.com/c/966286 changed HoverButton to trigger only on mouse
release gesture behavior was accidentally affected as well (would
trigger on ui::ET_GESTURE_TAP_DOWN events).

This change restricts the override in above CL to only affect mouse
events and use the correct MenuButton behavior for gesture events. It
also removes right-click key-release as a trigger by checking that the
gesture event can trigger buttons (which enforces mouse left-click).

Bug:  chromium:832056 
Change-Id: Ibf34d6b20f7dff2b7c13c8f42811124f9a06c781
Reviewed-on: https://chromium-review.googlesource.com/1014487
Reviewed-by: Bret Sepulveda <bsep@chromium.org>
Commit-Queue: Peter Boström <pbos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#551562}
[modify] https://crrev.com/dfdc271f89660811340a88f4deb10c4021369039/chrome/browser/ui/views/hover_button.cc

Comment 9 by pbos@chromium.org, Apr 18 2018

Status: Fixed (was: Assigned)
This should've fixed it. Please verify in the next Canary (it's not in today's Canary). :)

Comment 10 by pbos@chromium.org, Apr 18 2018

Labels: Merge-Request-67
Status: Assigned (was: Fixed)
I think this regressed pre-branch so this needs a merge.

Comment 11 by db...@etouch.net, Apr 19 2018

Labels: TE-Verified-M68 TE-Verified-68.0.3400.0
Update:

Retested above issue is fixed on latest canary build #68.0.3400.0 using Windows(10Touch device) OS.

Kindly review an attached screen-cast.

Thank you.

Fix_Actual.mp4
257 KB View Download
Project Member

Comment 12 by sheriffbot@chromium.org, Apr 19 2018

Labels: -Merge-Request-67 Merge-Approved-67 Hotlist-Merge-Approved
Your change meets the bar and is auto-approved for M67. Please go ahead and merge the CL to branch 3396 manually. Please contact milestone owner if you have questions.
Owners: cmasso@(Android), cmasso@(iOS), kbleicher@(ChromeOS), govind@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 13 by bugdroid1@chromium.org, Apr 19 2018

Labels: -merge-approved-67 merge-merged-3396
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/20c5d00888c73d558665a2d6943383e893f86e0d

commit 20c5d00888c73d558665a2d6943383e893f86e0d
Author: Peter Boström <pbos@chromium.org>
Date: Thu Apr 19 18:11:53 2018

Trigger HoverButton on touch release (not tap)

When crrev.com/c/966286 changed HoverButton to trigger only on mouse
release gesture behavior was accidentally affected as well (would
trigger on ui::ET_GESTURE_TAP_DOWN events).

This change restricts the override in above CL to only affect mouse
events and use the correct MenuButton behavior for gesture events. It
also removes right-click key-release as a trigger by checking that the
gesture event can trigger buttons (which enforces mouse left-click).

Bug:  chromium:832056 
Change-Id: Ibf34d6b20f7dff2b7c13c8f42811124f9a06c781
Reviewed-on: https://chromium-review.googlesource.com/1014487
Reviewed-by: Bret Sepulveda <bsep@chromium.org>
Commit-Queue: Peter Boström <pbos@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#551562}(cherry picked from commit dfdc271f89660811340a88f4deb10c4021369039)
Reviewed-on: https://chromium-review.googlesource.com/1019961
Reviewed-by: Peter Boström <pbos@chromium.org>
Cr-Commit-Position: refs/branch-heads/3396@{#135}
Cr-Branched-From: 9ef2aa869bc7bc0c089e255d698cca6e47d6b038-refs/heads/master@{#550428}
[modify] https://crrev.com/20c5d00888c73d558665a2d6943383e893f86e0d/chrome/browser/ui/views/hover_button.cc

Comment 14 by pbos@chromium.org, Apr 19 2018

Status: Verified (was: Assigned)
Thanks for verifying dbote@!
Labels: TE-Verified-M67 TE-Verified-67.0.3396.18
Tested the issue on Windows-10(Touch) using chrome latest Dev M67-67.0.3396.18 by following steps mentioned in the original comment. Observed that selection highlight is displaying as expected. Hence adding TE-Verified label.

please find the screen shot for reference.

Thank you!
832056.mp4
998 KB View Download

Sign in to add a comment