xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Version 24 and Version 25 of Clipboard


Ignore:
Timestamp:
01/11/17 15:50:47 (4 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Clipboard

    v24 v25  
    1010This feature allows you to copy from outside the xpra session and paste inside it, and vice versa.
    1111For various reasons, this doesn't always work quite as well as expected - see below for more details.
     12}}}
    1213
    13 The {{{clipboard-direction}}} option (see #276) can be used to restrict the direction of the clipboard data flows. This setting is also available from the system tray menu.
     14{{{#!div class="box"
     15== Configuration Options ==
     16
     17* {{{clipboard-direction}}}: (see #276) can be used to restrict the direction of the clipboard data flows. This setting is also available from the system tray menu.
     18* {{{clipboard-filter-file}}}: can be used to filter out clipboard contents using regular expressions
     19* {{{local-clipboard}}} / {{{remote-clipboard}}}: can be used to select which clipboard selection to synchronize with
    1420}}}
    1521
     
    1925Clipboard support is an ongoing struggle.
    2026
    21 One common difficulty with Mac OSX and MS Windows clients is that these platforms only have a single (*) clipboard whereas X11 has three ({{{CLIPBOARD}}}, {{{PRIMARY}}} and {{{SECONDARY}}}), and therefore we need to choose which one to exchange with.
    22 On MS Windows, the OS pulls clipboard data as soon as we claim ownership of the selection (see workaround in r3051 + r3075)
    23 On OSX, we have to use polling to see client-side changes (see #11)
    24 
    25 The xpra clibboard code is also problematic: the [/browser/xpra/trunk/src/xpra/gtk_common/nested_main.py nested main loop] code is known to cause serious problems on some platforms.
     27The most common issues are:
     28* Mac OSX and MS Windows clients only have a single clipboard selection whereas X11 has three ({{{CLIPBOARD}}}, {{{PRIMARY}}} and {{{SECONDARY}}}), and therefore we need to choose which one to exchange with (see "local-clipboard" and "remote-clipboard" switches)
     29* on MS Windows, the OS pulls clipboard data as soon as we claim ownership of the selection (see workaround in r3051 + r3075)
     30* on OSX, we have to use polling to see client-side changes (see #11)
     31* the xpra clibboard code is also problematic: the [/browser/xpra/trunk/src/xpra/gtk_common/nested_main.py nested main loop] code is known to cause serious problems on some platforms
    2632}}}
    2733