bug-xboard
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-XBoard] [bug #27810] Copy Game / Position do not work in XBoard?


From: Tim Mann
Subject: [Bug-XBoard] [bug #27810] Copy Game / Position do not work in XBoard?
Date: Mon, 26 Oct 2009 17:35:38 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.14) Gecko/2009090217 Ubuntu/9.04 (jaunty) Firefox/3.0.14

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]