Follow-up Comment #6, bug #27810 (project xboard):

The accepted way to do copy/paste in X has changed over the years.  There is
an excellent explanation at
http://www.freedesktop.org/wiki/Specifications/ClipboardsWiki.  xboard uses
the old historical interpretation 1.

In a bit more detail:

Currently, the "copy" position/game menu items in xboard actually just set
the PRIMARY selection (which is global to the whole X server), and the "paste"
items just paste in the current PRIMARY selection.  They don't use CLIPBOARD
at all.

This works between xboard instances and also works together with apps that
set PRIMARY when you select text (most should do that) and that have a "paste
selection" feature (many have that, usually on middle-click).  But it should
be updated to work with the new guidelines.

We can't follow the new guidelines quite exactly, though:

* We don't have a concept of "selecting with no explicit copy".  So let's
have the "copy" menu items set both PRIMARY and CLIPBOARD.

* I'm a bit torn about the guideline "explicit paste commands should paste
CLIPBOARD, not PRIMARY".  I'm tempted to say that to keep the old behavior
working for people who are used to it, the "paste" items should paste PRIMARY
if it's non-empty and otherwise paste CLIPBOARD.  However, maybe that is a bad
idea for people who are used to how copy/paste with clipboards are supposed to
work, so I'd be OK with pasting only CLIPBOARD and including a mention of the
change in the release message for the next version of xboard.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27810>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-XBoard mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-xboard

Reply via email to