New issue
Advanced search Search tips

Issue 633557 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Aug 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Dropping an image replaces URL and leaves webpage

Reported by mberth...@gmail.com, Aug 2 2016

Issue description

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

Steps to reproduce the problem:
1. Start filling out a complex form that came from a POST request
2. Drop an image from the finder on the webpage onto something that looks like an image drop area but actually isn't
3. Observe the cursor showing the image file name and a plus icon

What is the expected behavior?
I stay on the website with the complex form, don't lose what I put into the form and the image drop has no effect.

What went wrong?
The image drop replaces the URL with that of the image and loads the image into the browser window. The complex form is lost and cannot be resurrected with the back button because it came from a POST request.

Did this work before? N/A 

Chrome version: 51.0.2704.103  Channel: n/a
OS Version: OS X 10.10.5
Flash Version: Shockwave Flash 22.0 r0

The behavior where dropping images replaces the website shown with the dropped image (if the page doesn't handle the drop itself) can lead to frustrating data loss as the browser navigates away from the page. Please consider disabling that behavior.
 
Status: WontFix (was: Unconfirmed)
Thanks for your report. That sounds like a really bad user experience.

Unfortunately, the ability to navigate by drag-and-drop into Chrome is a design feature  shared with Safari. It is not likely that we will disable it, and disabling it just for image types would be pretty surprising to users, I think. Generally, we advise websites to use onbeforeunload when the user has potentially-delicate state. Sorry :\

Sign in to add a comment