GNU bug report logs - #11772
24.1; A click changes the primary selection

Previous Next

Package: emacs;

Reported by: Vincent Lefevre <vincent <at> vinc17.net>

Date: Sun, 24 Jun 2012 17:44:02 UTC

Severity: normal

Merged with 6872

Found in versions 24.0.50, 24.0.97, 24.1

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> gnu.org>
To: Vincent Lefevre <vincent <at> vinc17.net>
Cc: 11772 <at> debbugs.gnu.org
Subject: bug#11772: 24.1; A click changes the primary selection
Date: Sun, 08 Jul 2012 14:10:26 +0800
Vincent Lefevre <vincent <at> vinc17.net> writes:

> 1. Run "emacs -Q" under X.
> 2. Select something in the Emacs window, e.g. "This buffer".
> 3. Select something in some other application that supports the
>    PRIMARY selection, e.g. xterm.
> 4. Optional: paste the PRIMARY selection somewhere (but not in the
>    Emacs window opened above). As expected, one can see that the
>    selection done in (3) is pasted.
> 5. Click somethere in the Emacs window, with the left button.
>    As expected, the selection is no longer highlighted.
> 6. Paste the PRIMARY selection somewhere: it is the one from Emacs
>    (e.g. "This buffer"), i.e. in (2), that is pasted instead of the
>    most recent PRIMARY selection from (3).

Thanks for the extremely clear testcase.  I've committed a fix to trunk.




This bug report was last modified 12 years and 316 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.