xpra icon
Bug tracker and wiki

Changes between Version 16 and Version 17 of Clipboard


Ignore:
Timestamp:
12/11/13 10:14:17 (6 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Clipboard

    v16 v17  
    44
    55
     6{{{#!div class="box"
    67== Introduction ==
    78
     
    1213
    1314A 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}}}
    1416
    1517
    16 ----
    17 
     18{{{#!div class="box"
    1819== Testing the clipboard ==
    1920
     
    3637* {{{gtk_view_clipboard.py}}} on posix
    3738see [/ticket/272#comment:5 #272 comment:5] for screenshots and help with that.
     39}}}
    3840
    39 ----
    4041
     42{{{#!div class="box"
    4143== Useful Pointers ==
    4244Here are some pointers:
     
    4850And here is a good quote from it:
    4951  ''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}}}
    5053
    51 ----
    5254
     55{{{#!div class="box"
    5356== Source code ==
    5457* [/browser/xpra/trunk/src/xpra/clipboard/clipboard_base.py xpra.clipboard.clipboard_base] - the base class for clipboard implementations
    5558* [/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}}}
    5660
    5761
    58 ----
    59 
     62{{{#!div class="box"
    6063== Related tickets ==
    6164* #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
     
    7578* #8, #84 and #99 (dupe: #104): more clipboard atom problems
    7679* #11 win32 and osx clipboard ticket (old)
     80}}}