Changes between Version 16 and Version 17 of Clipboard
- Timestamp:
- 12/11/13 10:14:17 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Clipboard
v16 v17 4 4 5 5 6 {{{#!div class="box" 6 7 == Introduction == 7 8 … … 12 13 13 14 A more technical issue is to do with the way the clipboard hooks are implemented, using native C code ([/browser/xpra/trunk/src/xpra/gtk_common/gdk_atoms.pyx xpra.gtk_common.gdk_atoms] via Cython), which is imported in most platform specific clipboard implementations and also the [/browser/xpra/trunk/src/xpra/gtk_common/nested_main.py nested main loop] code. 15 }}} 14 16 15 17 16 ---- 17 18 {{{#!div class="box" 18 19 == Testing the clipboard == 19 20 … … 36 37 * {{{gtk_view_clipboard.py}}} on posix 37 38 see [/ticket/272#comment:5 #272 comment:5] for screenshots and help with that. 39 }}} 38 40 39 ----40 41 42 {{{#!div class="box" 41 43 == Useful Pointers == 42 44 Here are some pointers: … … 48 50 And here is a good quote from it: 49 51 ''Clipboard sharing and network transparency: It's nearly impossible to make the clipboard shared across different desktop computers. In fact it is possible, but such an implementation would be needlessly difficult and complex. The same can be said of support for virtualization (Qemu, Xen, VMWare). Sharing the clipboard between a virtual machine and the desktop itself is painfully difficult to implement correctly (in case X11 is running on the host operating system).'' 52 }}} 50 53 51 ----52 54 55 {{{#!div class="box" 53 56 == Source code == 54 57 * [/browser/xpra/trunk/src/xpra/clipboard/clipboard_base.py xpra.clipboard.clipboard_base] - the base class for clipboard implementations 55 58 * [/browser/xpra/trunk/src/xpra/clipboard/gdk_clipboard.py xpra.clipboard.gdk_clipboard] - the gdk clipboard implementation (which requires Cython to build the C parts that allow us to access X11 atoms). It also contains the {{{TranslatedClipboardProtocolHelper}}} which is used by Windows clients to translate the local clipboard to a particular X11 clipboard. 59 }}} 56 60 57 61 58 ---- 59 62 {{{#!div class="box" 60 63 == Related tickets == 61 64 * #41: when we support concurrent users on the same session, we currently give the clipboard to the first client - doing anything else will be quite tricky … … 75 78 * #8, #84 and #99 (dupe: #104): more clipboard atom problems 76 79 * #11 win32 and osx clipboard ticket (old) 80 }}}