Bug 204281
| Summary: | [GTK] Dragging files to a WebView fails unless dragged outside of all windows first | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Michael Gratton <mike> |
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | bugs-noreply, cgarcia, chris |
| Priority: | P2 | ||
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Michael Gratton
Files dragged directly to a WebKitWebView are not accepted for dropping unless the cursor moves outside all application windows first, then to the window containing the WebView.
We're just landing support for drag and drop images for the composer in Geary and I noticed that I can't drag an image from a Nautilus or EoG window to the composer if they are adjoining, rather I need to drag the cursor to the gnome-shell header or over a clear part of the desktop background first, then the cursor changes to indicate drop is possible when dragged over the composer's WebView.
To reproduce:
1. Open a Epiphany window half-secreened on one side, Nautilus window half screened on the other
2. Drag and drop a file (e.g. an image) from the Nautilus window directly to the to Epiphany window
Note the image is not loaded in the Ephy window, which is unexpected.
3. Drag the image via the gnome shell header bar then drop it on Epiphany
Note the image is loaded in the Ephy window as expected.
* WebKitGTK 2.26.2
* Wayland session (not tested under X11)
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Heywood
This appears to be Wayland specific. Unable to reproduce under X11, confirmed with Wayland. WebKitGTK 2.26.1.
Carlos Garcia Campos
I can't reproduce this.