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

Issue 693966 link

Starred by 4 users

Issue metadata

Status: WontFix
Owner:
Closed: Nov 22
Cc:
Components:
EstimatedDays: 1
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Pinch to Zoom is Slow on macOS

Reported by irvel.nd...@gmail.com, Feb 19 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36

Steps to reproduce the problem:
1. Go go any webpage
2. Pinch with two fingers the trackpad in an outwards motion
3. Pinch with two fingers the trackpad in an inwards motion

What is the expected behavior?
A zooming motion in 60fps that travels at the speed of which the fingers are moving. 

What went wrong?
The zooming motion presents a considerable delay to that of the motion of the fingers. It drops frames and ends up looking "choppy" or "sluggish"

Did this work before? No 

Chrome version: 56.0.2924.87  Channel: stable
OS Version: OS X 10.12.3
Flash Version: Shockwave Flash 24.0 r0

Zooming in Safari is smooth and the motion correlates with that of the fingers in terms of speed and position.
 
slow_chrome.mp4
5.7 MB View Download
fast_safari.mov
8.8 MB Download

Comment 1 by meh...@chromium.org, Feb 19 2017

Components: -UI UI>Browser>Zoom Internals>Input>Touch>Pad
EstimatedDays: 1
Labels: Needs-Triage-M56
Cc: krajshree@chromium.org
Labels: Needs-Feedback
Unable to reproduce the issue in Mac 10.12.2 using chrome reported version #56.0.2924.87 and latest canary #58.0.3018.0.

Steps followed to reproduce the issue are as follows:
-----------
1. Navigated to crbug.com.
2. Pinched with two fingers the trackpad in an outwards motion
3. Pinched with two fingers the trackpad in an inwards motion
4. Observed that zooming motion in 60fps travelled at the speed of which the fingers moved as expected.

Attaching screen cast for reference.

irvel.nduva@ - Could you please check this issue on latest canary #58.0.3018.0 by creating a new profile without any apps and extensions and please let us know if the issue still persist or not.

Thanks...!!


693966.mp4
24.5 MB Download
Hi,

I just installed the latest canary #58.0.3018.0. with no extensions or plugins, and tested it. The issue is still there. What happens specifically is that while its zooming, suddenly the motion pauses for a couple frames making it appear unresponsive. In other words there is jank. 

Besides the jank another issue is that there is delay between the input of the fingers and the actual motion on the screen. Affecting the overall responsiveness of feel of the browser.


As the jank in the motion may be hard to observe, I have attached a trace from #58.0.3018.0. captured in (chrome://tracing)
In the trace it can be seen that there are many instances in which the renderer falls behind the VSync deadline, for instance at the timestamp 1,970.0 ms. Effectively falling behind 60fps and creating the jank.

The issue is significantly more noticeable with heavy webpages, for instance, try to zoom in the trace viewer and the delay and jank will become even more apparent.
trace_jank_zooming.json.gz
5.8 MB Download
Labels: -Needs-Feedback
Thank you for providing feedback. removing "Needs-Feedback" label.
Cc: sureshkumari@chromium.org
Labels: Needs-Feedback
Tested the issue on MacBook Air-10.12.2 using chrome stable version 56.0.2924.87 and latest canary 58.0.3027.3 with the steps mentioned in comment#0 and the issue is not reproduced.
Reporter@ could you please upgrade the chrome to latest canary 58.0.3027.3 and let us know your observations if the issue still persists.

Thanks. 

Comment 7 by shrike@chromium.org, Mar 24 2017

Labels: -Needs-Feedback
Owner: wjmaclean@chromium.org
Status: Assigned (was: Unconfirmed)
Assigning to wjmaclean@ for further triage (please see trace in c#22).
Cc: mustaq@chromium.org wjmaclean@chromium.org
Owner: dtapu...@chromium.org
Re-assigning to dtapuska@ (or mustaq@ ?) since it doesn't seem to be OOPIF/WebView specific, and dtapuska@ knows the wheel->pinch conversion code better than I do. 
I wonder if this issue is related also with the sluggish performance on two finger scrolling? 
Owner: nzolghadr@chromium.org
Labels: Hotlist-DesktopUIChecked
Status: WontFix (was: Assigned)
*** UI Mass Triage***
Tested on latest Canary #72.0.3618.0 on Mac 10.13.6 and was not able to reproduce the issue.
irvel.nduva@ -- Please feel free to file a new issue or reopen this issue if the issue is reproduced on latest Chrome versions.
Thanks!

Sign in to add a comment