Opened 4 years ago
Last modified 5 weeks ago
#1494 assigned enhancement
drag and drop: support images, text, server-to-client, etc
Reported by: | Antoine Martin | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | major | Milestone: | 5.0 |
Component: | core | Version: | trunk |
Keywords: | Cc: | dennis.schridde@… |
Description
Follow up from #1493.
- we have the source window and target window, so we should be able to send the data to the specific application window that was pointed to (if it supports it... which we won't know about until it is too late?)
- we should handle more data types and sanitize them: the "selection-data" structure can give us plain text, UTF8, images, etc.
- this same code could be re-used for sanitizing clipboard data (ie: images)
- on the server-side, we may be able to register the "world-window" as a drop target so that we can trigger drag-n-drop events from server to client
Change History (8)
comment:1 Changed 4 years ago by
Status: | new → assigned |
---|
comment:2 Changed 4 years ago by
Cc: | dennis.schridde@… added |
---|
comment:3 Changed 3 years ago by
Milestone: | 2.2 → 2.3 |
---|
comment:4 Changed 3 years ago by
Milestone: | 2.3 → 3.0 |
---|
Links:
- XDND: Drag-and-Drop Protocol for the X Window System
- Gtk.Widget drag_begin API we can't use since we don't have a gtk window for foreign windows (only a gdk window)
- gdk.Window.drag_begin and gdk.DragContext
- pygtk2 tutorial: DND Methods
- gtk.Widget drag-begin
Version 0, edited 3 years ago
by
(next)
comment:6 Changed 19 months ago by
Milestone: | 3.0 → 4.0 |
---|
comment:7 Changed 13 months ago by
Milestone: | 4.0 → 5.0 |
---|
comment:8 Changed 5 weeks ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1494
Note: See
TracTickets for help on using
tickets.
Examples of targets with common applications:
Docs: