Xpra: Ticket #1494: drag and drop: support images, text, server-to-client, etc
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
Mon, 10 Apr 2017 07:53:30 GMT - Antoine Martin: status changed
changed from new to assigned
Examples of targets with common applications:
- browser URL:
'STRING', 'UTF8_STRING', 'text/plain', 'text/x-moz-url', 'TEXT', '_NETSCAPE_URL'
- browser text data:
'text/x-moz-url', '_NETSCAPE_URL', 'application/x-moz-custom-clipdata', 'text/unicode', 'text/plain;charset=utf-8', 'text/plain', 'text/html'
- browser image:
STRING, UTF8_STRING, XdndDirectSave0, text/plain, text/x-moz-url, TEXT, text/html, chromium/x-renderer-taint, application/octet-stream
Wed, 02 Aug 2017 13:57:05 GMT - urzds: cc set
Tue, 24 Oct 2017 16:08:36 GMT - Antoine Martin: milestone changed
changed from 2.2 to 2.3
Sun, 01 Apr 2018 10:57:13 GMT - Antoine Martin: milestone changed
changed from 2.3 to 3.0
Related to #812.
Sat, 01 Jun 2019 10:55:48 GMT - Antoine Martin:
Updates in ticket:812#comment:27
Mon, 05 Aug 2019 10:52:11 GMT - Antoine Martin: milestone changed
changed from 3.0 to 4.0
Wed, 12 Feb 2020 05:15:58 GMT - Antoine Martin: milestone changed
changed from 4.0 to 5.0
Sat, 23 Jan 2021 05:25:50 GMT - migration script:
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1494