Pinch zooming broken on tip of tree |
|||||||||||
Issue descriptionChrome Version: 58.0.3023.0 (rev 628844c6dd31 on master) OS: Chrome What steps will reproduce the problem? (1) Visit a web page (2) Attempt to pinch zoom in or out What is the expected result? Pinch zoom should be performed What happens instead? Pinch zoom is not performed. On pages with a scrollbar, the page scrolls erratically.
,
Feb 24 2017
Kevin's going to try and build-bisect this, just needs to find a non-CrOS machine with a touch screen ...
,
Feb 24 2017
Pinch zooming on Windows canary (58.0.3022.0) still works.
,
Feb 24 2017
So this looks like it's platform specific as pinch zooming is broken on 58.0.3022.0 for chrome os. rev 66847e854d3a is good on chrome os, although I get the following DCHECK for some sites: [1:1:0224/143422.863913:FATAL:PointerEventFactory.cpp(326)] Check failed: touchPoint.state == coalescedTouchPoint.state (3 vs. 4) rev 2db168c3d25f is bad. I'll see if I can narrow it down some more.
,
Feb 24 2017
This was broken in crrev.com/31739e48ae97 (Add id properties to PointerEvent)
,
Feb 24 2017
,
Feb 27 2017
,
Feb 27 2017
I commented out a suspect line in the CL: I think we are not using the value GetTouchId(native_event) now in TouchEvent(NativeEvent&) constructor.
,
Feb 27 2017
This also seems to break multi-touch and stylus support for ARC++: https://bugs.chromium.org/p/chromium/issues/detail?id=696369 Dave, are you looking into this? I am not very familiar with this part of the code.
,
Feb 27 2017
,
Feb 27 2017
I am looking at it right now.
,
Feb 27 2017
Sorry, I was referring to the touch screen pinch zoom being broken.
,
Feb 27 2017
disregard my comment (i've deleted it)
,
Feb 27 2017
I believe the problematic code is here: https://cs.chromium.org/chromium/src/ui/events/ozone/evdev/event_factory_evdev.cc?dr=CSs&q=event_factory&l=345 Lan can you prepare a patch to fix this and test out the other scenarios?
,
Feb 28 2017
,
Mar 1 2017
Some reports in Chromebook Central: https://productforums.google.com/forum/#!topicsearchin/chromebook-central/r11$20Pinch$20to$20zoom #CBC-RS/TC-watchlist
,
Mar 1 2017
I have a CL ready, it is under review now. https://codereview.chromium.org/2720133002/
,
Mar 2 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/de104fb57e491bef3f2883f5a9100b9524fb0e3c commit de104fb57e491bef3f2883f5a9100b9524fb0e3c Author: lanwei <lanwei@chromium.org> Date: Thu Mar 02 21:22:49 2017 Make pinch zoom work on chromeos by setting touch id correctly In EventFactoryEvdev, the touch id is reset to default value 0 after setting a PointerDetails object, which causes two touch pointer have the same id, and pinch zoom does not work. We need to set the touch id in PointerDetails and check in all the set_pointer_details to make sure that id is not reset to default. BUG= 695905 , 696369 Review-Url: https://codereview.chromium.org/2720133002 Cr-Commit-Position: refs/heads/master@{#454378} [modify] https://crrev.com/de104fb57e491bef3f2883f5a9100b9524fb0e3c/ui/events/event.cc [modify] https://crrev.com/de104fb57e491bef3f2883f5a9100b9524fb0e3c/ui/events/event.h [modify] https://crrev.com/de104fb57e491bef3f2883f5a9100b9524fb0e3c/ui/events/event_unittest.cc [modify] https://crrev.com/de104fb57e491bef3f2883f5a9100b9524fb0e3c/ui/events/ozone/evdev/event_factory_evdev.cc
,
Mar 3 2017
,
Mar 8 2017
Issue 698558 has been merged into this issue.
,
May 30 2017
,
Aug 1 2017
,
Jan 22 2018
|
|||||||||||
►
Sign in to add a comment |
|||||||||||
Comment 1 by dtapu...@chromium.org
, Feb 24 2017