Drag point offset with stylus |
||||
Issue descriptionChrome Version: 62.0.3189.0 Chrome OS Version: 9844.0.0 dev-channel test Chrome OS Platform: Chromebook Plus Steps To Reproduce: (1) Drag a writable file in the Files app. using the stylus. (2) Hover it over "Downloads" root directory. (3) See the icon in the drag shadow See the attached picture. Looks like the actual pointer position is shifted from the actual contact point of the stylus. We can also see that "laser pointer" is shown in the right position. It looks as if you cannot move the file into the root "Downloads" directory, but actually it's treated as a drop to "Offline" virtual folder due to the pointer offset, thus denied to move files there. We can also see that "Offline" is highlighted blue to indicate that it's being hovered.
,
Aug 18 2017
This offset is not observed when clicking a file or folder. So it might be specific to drag, or the Files app.
,
Aug 18 2017
The same issue seems to happen with touch as well. Is it possible this is intended for touch because without an offset the file would not be visible under the users finger?
,
Aug 21 2017
AFAIR drag position is being handled in a separate pipeline (android.view.ViewRootImpl#dispatchDragEvent), so I would not be surprised if some offsets are applied differently (compared to a regular touch).
,
Feb 20 2018
,
Feb 28 2018
,
Apr 5 2018
,
Oct 12
Reproduced on 71.0.3572.0 For stylus we should not use any offset. It's possible we'll want to for touch. The drag shadow should be placed as if the touch point with the stylus was in the top left corner (as we do with mouse). |
||||
►
Sign in to add a comment |
||||
Comment 1 by osh...@chromium.org
, Aug 18 2017