GNU bug report logs - #49728
x11 primary selection with mouse

Previous Next

Package: emacs;

Reported by: Johannes Martinez <spamreceiver23 <at> gmail.com>

Date: Sun, 25 Jul 2021 05:03:01 UTC

Severity: normal

Tags: moreinfo

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 49728 in the body.
You can then email your comments to 49728 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#49728; Package emacs. (Sun, 25 Jul 2021 05:03:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Johannes Martinez <spamreceiver23 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 25 Jul 2021 05:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Johannes Martinez <spamreceiver23 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: x11 primary selection with mouse
Date: Sun, 25 Jul 2021 02:09:44 -0400
[Message part 1 (text/plain, inline)]
Hi, I'm writing a clipboard manager and notice some odd behaviour with
emacs.
It seems to be setting the primary selection while mouse button is down and
not on button up. So what happens is that you're continuously setting the
selection as the user fiddles the mouse the highlight just the text they
want.

I'm guessing this is because you're  just using the same code as keyboard
highlighting.  doing it only on button up will reduce your traffic quite a
bit... and allow me to not make an ugly hack 4x bigger than the regular
code just to deal with emacs properly.
Thanks.
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49728; Package emacs. (Sun, 21 Aug 2022 18:20:01 GMT) Full text and rfc822 format available.

Message #8 received at 49728 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Johannes Martinez <spamreceiver23 <at> gmail.com>
Cc: 49728 <at> debbugs.gnu.org
Subject: Re: bug#49728: x11 primary selection with mouse
Date: Sun, 21 Aug 2022 20:19:40 +0200
Johannes Martinez <spamreceiver23 <at> gmail.com> writes:

> Hi, I'm writing a clipboard manager and notice some odd behaviour with
> emacs.  It seems to be setting the primary selection while mouse
> button is down and not on button up. So what happens is that you're
> continuously setting the selection as the user fiddles the mouse the
> highlight just the text they want.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

You didn't say what Emacs version you saw this in -- is this still
happening in recent Emacs versions?  I had a very quick look at
`gui-set-selection' in Emacs 29, and it seems to be called on mouse-up
there.




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 21 Aug 2022 18:20:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49728; Package emacs. (Mon, 22 Aug 2022 14:23:01 GMT) Full text and rfc822 format available.

Message #13 received at 49728 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Johannes Martinez <spamreceiver23 <at> gmail.com>
Cc: 49728 <at> debbugs.gnu.org
Subject: Re: bug#49728: x11 primary selection with mouse
Date: Mon, 22 Aug 2022 16:22:24 +0200
(Please keep the debbugs address in the CCs -- otherwise it won't reach
the bug tracker.)

Johannes Martinez <spamreceiver23 <at> gmail.com> writes:

> that was quite a while ago so I don't know.  whatever was current in Ubuntu at the
> time.
>
> emacs 29 still isn't avalaible there.

Can you reproduce it with whatever is current in Ubuntu now?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49728; Package emacs. (Mon, 19 Sep 2022 19:20:02 GMT) Full text and rfc822 format available.

Message #16 received at 49728 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Johannes Martinez <spamreceiver23 <at> gmail.com>
Cc: 49728 <at> debbugs.gnu.org
Subject: Re: bug#49728: x11 primary selection with mouse
Date: Mon, 19 Sep 2022 21:19:32 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Can you reproduce it with whatever is current in Ubuntu now?

More information was requested, but no response was given within a
month, so I'm closing this bug report.  If the problem still exists,
please respond to this email and we'll reopen the bug report.




bug closed, send any further explanations to 49728 <at> debbugs.gnu.org and Johannes Martinez <spamreceiver23 <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 19 Sep 2022 19:20:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 18 Oct 2022 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 191 days ago.

Previous Next


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