Issue metadata
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 descriptionChrome 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.
,
Apr 12 2018
,
Apr 12 2018
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
,
Apr 12 2018
pbos@, since you're already looking at avatar button stuff, maybe you and tangltom can work together to debug this fairly quickly?
,
Apr 12 2018
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.
,
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.
,
Apr 16 2018
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.
,
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
,
Apr 18 2018
This should've fixed it. Please verify in the next Canary (it's not in today's Canary). :)
,
Apr 18 2018
I think this regressed pre-branch so this needs a merge.
,
Apr 19 2018
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.
,
Apr 19 2018
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
,
Apr 19 2018
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
,
Apr 19 2018
Thanks for verifying dbote@!
,
Apr 24 2018
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! |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by db...@etouch.net
, Apr 12 2018