New issue
Advanced search Search tips

Issue 753681 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Aug 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Context menu is shown after long-tapping draggable part of the item

Project Member Reported by yamaguchi@chromium.org, Aug 9 2017

Issue description

Known issue with patch
https://chromium-review.googlesource.com/c/606068

Steps To Reproduce:
(1) List view mode
(2) unselect all
(3) long-tap on a file name text (do not slide while touching)

Expected Result:
Select the file and enter check-select mode.

Actual Result:
Dragged thumbnail is shown under touch point while touching.
Select the file and enter check-select mode.
Context menu pops up after releasing thouch.

 
Cc: fukino@chromium.org
in (3), "a file name text" can be replaced by any draggable part of the item, which is either:
- anywhere on each item in thumbs view
- checkbox or file name in list view
- anywhere on a row of a selected item

When this happens,
touchstart, dragstart, contextmenu are received in this order. touchend is not received.


'contextmenu' event itself can be blocked if Event.preventDefault is called for a touchstart event. However, it will also prevent drag operation by emulating a mouse.
Another case, when unselecting.

(1) Select 1 item
(2) Long-tap the selected item

Expected Result:
Unselect the file.

Actual Result:
Context menu opens. The file stays selected.

It fails to detect a long tap by not receiving touchend (same reason as #1).
Status: WontFix (was: Available)
This has already been resolved by the latest patchset of the change.
https://chromium-review.googlesource.com/c/606068

Sign in to add a comment