Regression: click and drag to move in image scroller now changes to file drag
Reported by
andrew.m...@gmail.com,
Sep 13
|
||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 Safari/537.36 Example URL: http://dl.antenati.san.beniculturali.it/v/Archivio+di+Stato+di+Palermo/Stato+civile+della+restaurazione/Lercara+Friddi/Morti/1822/93/007801467_00873.jpg.html?g2_imageViewsIndex=0 Steps to reproduce the problem: 1. Load the page and click on the image 2. Once the viewer loads, click and hold mouse down on the image 3. Dragging around while mouse down is supposed to move the image but instead changes to a file drag-and-drop operation What is the expected behavior? The zoomed image should pan around the screen. This works fine in Safari/Firefox and Chrome 68 What went wrong? The file drag-and-drop operation should not initiate, the image zoom/pan widget should be handling the events Does it occur on multiple sites: No Is it a problem with a plugin? No Did this work before? Yes 68 Does this work in other browsers? Yes Chrome version: 69.0.3497.81 Channel: n/a OS Version: OS X 10.13.6 Flash Version:
,
Sep 13
,
Sep 13
Thanks for reporting this issue. Can you please take a video how it use to work and whats wrong now? We will try to reproduce it from our side. Thanks!
,
Sep 13
,
Sep 13
Recorded a video showing what Chrome 69 does.. I click and hold the mouse button down while dragging and, instead of panning the image around, you get the drag-and-drop mouse cursor with the little document icon to the upper-right of it. Chrome 68 and all other browsers pan the image around when you hold the mouse button down and drag. You also see that when I let go of the mouse button and simply move the mouse around, *then* the image pans. It is only supposed to pan if you have the button pressed while moving the mouse. Programmer hat on: - You mouse down and begin to drag, and these first few events are sent to the content and it begins to pan a tiny bit - File drag-and-drop kicks in and now the mouse events are diverted into the drag-and-drop code and are *not* sent to the application - When file drag-and-drop is canceled after releasing the mouse button, that event is also swallowed and not passed to the application, leaving it in a state where it still thinks the mouse button is depressed, causing mouse movement to pan the image around as if you we still holding the button down. - Simply clicking and releasing the mouse button resets the application state and it stops panning
,
Sep 13
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Sep 14
,
Sep 14
andrew.m.paprocki@ Thanks for the update. Able to reproduce this issue on Windows 10, Mac OS 10.13.3 and Ubuntu 17.10 on the reported version 69.0.3497.81 and latest Beta 70.0.3538.16. Issue seems to be fixed on the latest Canary 71.0.3552.2. Revert Bisect Information: ========================== Good Build: 71.0.3545.0 Bad Build : 71.0.3544.0 By running per-revision bisect script, RunTimeError was coming up. Hence by running Chromium bisect below is the Changelog URL. https://chromium.googlesource.com/chromium/src/+log/e2a125c42c0dcc6132c138a160fb2dd0cc2badbe..be9e708ab189d52a1a673ff1819100dfe959cd54 From the above Changelog, suspecting the below change: Reviewed-on: https://chromium-review.googlesource.com/1210124 nzolghadr@ Please check and confirm if this issue is related to your change, else help us in assigning to the right owner. Adding 'ReleaseBlock-Stable' for M-69 as this is a recent regression. Please feel free to remove if it is not applicable. Thanks
,
Sep 14
That is indeed caused by my change. But that is change intentional. It is temporary reverted for now but it is coming back. Authors of the website relying on un-specified behaivor in Chrome (i.e. preventing default mousemove to prevent drag). They should listen to dragstart and prevent default that instead. Removing stable block as it is not that critical of an issue.
,
Sep 14
Reporter, are you the developer of that website or a user?
,
Sep 14
I'm a user that spends a lot of time on that site. The site lists that the firm responsible for building the site is CINECA: https://www.cineca.it/en/content/contact
,
Sep 14
One more request. Can you try it with Chrome Canary and see whether it is resolved or not as we have reverted the change there.
,
Sep 15
,
Oct 11
The original change is reverted already and it is fixed now. |
||||||||||
►
Sign in to add a comment |
||||||||||
Comment 1 by andrew.m...@gmail.com
, Sep 13