New issue
Advanced search Search tips

Issue 638307 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Aug 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Feature



Sign in to add a comment

[Android][Client] Make cursor scroll smoothly at all zoom levels

Project Member Reported by joedow@chromium.org, Aug 16 2016

Issue description

The motion of the cursor image when moving it across the remote desktop can appear a bit bumpy.  This is because we always render the cursor image using integer based coordinates (versus floating point coords that are used for the viewport).

This kind of made sense with the old renderer as the image was panned as-is, so the pixels we were locking the cursor to were very apparent when the zoom level was increased.

Now that we are using the OpenGL renderer (with anti-aliasing) you can no longer see the individual pixels so locking the cursor to an integer coordinate on the remote machine makes less sense (it is not apparent while panning at moderate-high zoom levels).

My suggestion is that we use floating point coords to position the cursor image we draw locally and use a consistent rounding strategy to ensure clicks/position coords are still accurate on the remote machine.
 

Comment 1 by dah...@chromium.org, Aug 16 2016

Labels: M-54
Owner: yuweih@chromium.org
Status: Assigned (was: Untriaged)

Comment 2 by yuweih@chromium.org, Aug 18 2016

Status: Fixed (was: Assigned)
Status: Verified (was: Fixed)
the cursor is noticeably smoother and easier to manipulate. Verified Fixed in 54.0.2840.6

Sign in to add a comment