[Webkit-unassigned] [Bug 23642] [GTK] Drag and drop support

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 30 06:50:37 PST 2009


zandobersek at gmail.com changed:

           What    |Removed                     |Added
  Attachment #27180|                            |review?
               Flag|                            |

------- Comment #1 from zandobersek at gmail.com  2009-01-30 06:50 PDT -------
Created an attachment (id=27180)
 --> (https://bugs.webkit.org/attachment.cgi?id=27180&action=view)
The 'drag' implementation

This only implements the 'drag' of the 'drag and drop'.

With this, user can now click and drag images, links and text to other
applications. As far as I've tested, the following (properly) works in the
GNOME environment (Ubuntu 8.10):
- dragging a link to desktop (Nautilus) => creates a link,
- dragging an image to desktop => downloads the image,
- dragging links, text or HTML to Pidgin,
- dragging links or text to Firefox's search engine input and navigation input,
- dragging links to Epiphany's navigation input,
- dragging image to OpenOffice's Drawing => copies the image.

Supported targets are text targets, HTML, image targets, uri list targets and
the _NETSCAPE_URL target.

Because of the lack of a proper (drag) data container in the Gtk toolkit, a
small 'drag clipboard' was implemented. It is easily accessible to both WebCore
and WebKit components. The GtkClipboard with GTK_SELECTION_SECONDARY could be
used, but such clipboards seem to be storing only one type of data at time.
Targets, however, can be very different - dragging an image can result in
giving the destination either text, link or image itself.

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