[Webkit-unassigned] [Bug 25879] New: WebKit handles file drags & uploads of directories poorly
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 19 17:52:40 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=25879
Summary: WebKit handles file drags & uploads of directories
poorly
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: eric at webkit.org
CC: adele at apple.com, oliver at apple.com, noel.gordon at gmail.com
BugsThisDependsOn: 25852
It's currently possible to drag a directory onto a <input type="file"> control.
It's not possible to pick one from the file picker.
If we're going to support dragging directories onto a file control we need to
do something intelligent (like auto-zipping the directory on submission).
If we don't want to support dragging directories onto file controls, we need a
good UI for when we prevent it (like showing the "can't drop" cursor during the
drag).
If a drag has both files and directories in it, we should treat it the same as
if it just has a directory, I think. Either way we need to handle this case.
Currently when you try to submit a directory, we do the following:
Safari cant open the page.
Safari cant open the page https://bugs.webkit.org/attachment.cgi. The error
is: Operation could not be completed. Is a directory (NSPOSIXErrorDomain:21)
Please choose Safari > Report Bugs to Apple, note the error number, and
describe what you did before you saw this message.
Instead we should throw a JS exception on form.submit() or something (or maybe
we already do, I clicked the "submit" button manually).
I can break this into multiple bugs as needed.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list