unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#5180: 23.1.90; Secondary selection and M-w
@ 2009-12-11 13:33 Leo
  2009-12-11 15:53 ` Drew Adams
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Leo @ 2009-12-11 13:33 UTC (permalink / raw)
  To: emacs-pretest-bug

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug.  If you can, give
a recipe starting from `emacs -Q':

If often use mouse to select a piece of text and then hit M-w to copy
it. However, this is frequently hijacked by mouse-drag-secondary.

To reproduce:
1. Drag the mouse to select some text
2. Stop dragging and (after a short delay) hit the Meta (as in M-w) key

The region will be turned into a secondary selection defeating the
effect of M-w, for example.

I have found this annoying and I wonder how to fix it without disabling
all secondary selection bindings.

Thank you.

Leo

with GNU Emacs 23.1.90.1 (i386-apple-darwin9.8.0, NS
apple-appkit-949.54) of 2009-12-09 on victoria.local





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#5180: 23.1.90; Secondary selection and M-w
  2009-12-11 13:33 bug#5180: 23.1.90; Secondary selection and M-w Leo
@ 2009-12-11 15:53 ` Drew Adams
  2009-12-11 16:53   ` Leo
  2016-06-05  3:16 ` Noam Postavsky
  2019-10-10 23:26 ` Stefan Kangas
  2 siblings, 1 reply; 9+ messages in thread
From: Drew Adams @ 2009-12-11 15:53 UTC (permalink / raw)
  To: 'Leo', 5180, emacs-pretest-bug

I never noticed it before, but I can confirm that it happens, but only if the
the Meta key is pressed before releasing the mouse button.

> If often use mouse to select a piece of text and then hit M-w to copy
> it. However, this is frequently hijacked by mouse-drag-secondary.
> 
> To reproduce:
> 1. Drag the mouse to select some text
> 2. Stop dragging and (after a short delay) hit the Meta (as 
> in M-w) key
> 
> The region will be turned into a secondary selection defeating the
> effect of M-w, for example.
> 
> I have found this annoying and I wonder how to fix it without 
> disabling all secondary selection bindings.






^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#5180: 23.1.90; Secondary selection and M-w
  2009-12-11 15:53 ` Drew Adams
@ 2009-12-11 16:53   ` Leo
  2016-02-01 22:44     ` Alan Third
  0 siblings, 1 reply; 9+ messages in thread
From: Leo @ 2009-12-11 16:53 UTC (permalink / raw)
  To: Drew Adams; +Cc: 5180

2009/12/11 Drew Adams <drew.adams@oracle.com>:
> I never noticed it before, but I can confirm that it happens, but only if the
> the Meta key is pressed before releasing the mouse button.

I would not find it annoying if that were my case. However, I use the
trackpad with a laptop. I don't know whether that causes the
difference.

I also find that the Meta key has to be held down for a while (about 1
or 2 s)  but it can be done after releasing the mouse button (with my
hand off the trackpad). Thus:

 To reproduce:
 1. Drag the mouse to select some text
 2. Stop dragging by moving your hand away from the trackpad and
(after a short delay) HOLD DOWN the Meta (as in M-w) key

Thanks.
Leo





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#5180: 23.1.90; Secondary selection and M-w
  2009-12-11 16:53   ` Leo
@ 2016-02-01 22:44     ` Alan Third
  2016-02-02  3:37       ` Leo Liu
  0 siblings, 1 reply; 9+ messages in thread
From: Alan Third @ 2016-02-01 22:44 UTC (permalink / raw)
  To: Leo; +Cc: 5180

Leo <sdl.web@googlemail.com> writes:

> 2009/12/11 Drew Adams <drew.adams@oracle.com>:
>> I never noticed it before, but I can confirm that it happens, but only if the
>> the Meta key is pressed before releasing the mouse button.

I can replicate this, but I assume it's normal behaviour.

> I would not find it annoying if that were my case. However, I use the
> trackpad with a laptop. I don't know whether that causes the
> difference.
>
> I also find that the Meta key has to be held down for a while (about 1
> or 2 s)  but it can be done after releasing the mouse button (with my
> hand off the trackpad). Thus:
>
>  To reproduce:
>  1. Drag the mouse to select some text
>  2. Stop dragging by moving your hand away from the trackpad and
> (after a short delay) HOLD DOWN the Meta (as in M-w) key

I can't replicate this in Emacs 25. Are you able to check whether you
still get this behaviour in a recent version of Emacs?

-- 
Alan Third





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#5180: 23.1.90; Secondary selection and M-w
  2016-02-01 22:44     ` Alan Third
@ 2016-02-02  3:37       ` Leo Liu
  0 siblings, 0 replies; 9+ messages in thread
From: Leo Liu @ 2016-02-02  3:37 UTC (permalink / raw)
  To: Alan Third; +Cc: 5180, Leo



>> On 2016年2月2日, at 06:44, Alan Third <alan@idiocy.org> wrote:
>> 
>> To reproduce:
>> 1. Drag the mouse to select some text
>> 2. Stop dragging by moving your hand away from the trackpad and
>> (after a short delay) HOLD DOWN the Meta (as in M-w) key
> 
> I can't replicate this in Emacs 25. Are you able to check whether you
> still get this behaviour in a recent version of Emacs?
> 
> -- 
> Alan Third

I just tried this on emacs 25.0.90 and reproduced it after a few tries. its getting harder to reproduce but i think its not fixed yet.  -- leo




^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#5180: 23.1.90; Secondary selection and M-w
  2009-12-11 13:33 bug#5180: 23.1.90; Secondary selection and M-w Leo
  2009-12-11 15:53 ` Drew Adams
@ 2016-06-05  3:16 ` Noam Postavsky
  2016-06-05  9:09   ` Leo Liu
  2019-10-10 23:26 ` Stefan Kangas
  2 siblings, 1 reply; 9+ messages in thread
From: Noam Postavsky @ 2016-06-05  3:16 UTC (permalink / raw)
  To: 5180; +Cc: Leo, Alan Third, Leo Liu

Leo Liu <sdl.web <at> gmail.com> wrote:
> I just tried this on emacs 25.0.90 and reproduced it after a few tries. its getting harder to reproduce but i think its not fixed yet.  -- leo

Failed to reproduce it here, also using a trackpad. Maybe something is
wrong on the OS side and Emacs receives the events in the wrong order?

In GNU Emacs 25.0.94.6 (x86_64-unknown-linux-gnu, X toolkit)
 of 2016-06-04 built on zony
Repository revision: 7eb3bd56d0f0410d5053ee01f4b458d868682df6
Windowing system distributor 'The X.Org Foundation', version 11.0.11803000
Configured using:
 'configure --cache-file=../debug-config.cache 'CFLAGS=-Og -g3
 -march=native' --enable-checking --with-x-toolkit=lucid
 --without-toolkit-scroll-bars --with-gif=no --with-jpeg=no'





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#5180: 23.1.90; Secondary selection and M-w
  2016-06-05  3:16 ` Noam Postavsky
@ 2016-06-05  9:09   ` Leo Liu
  0 siblings, 0 replies; 9+ messages in thread
From: Leo Liu @ 2016-06-05  9:09 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: 5180, Leo, Alan Third

On 2016-06-04 23:16 -0400, Noam Postavsky wrote:
> Failed to reproduce it here, also using a trackpad. Maybe something is
> wrong on the OS side and Emacs receives the events in the wrong order?

I still have 100% reproduction here with Mac Port emacs starting with -Q
on OSX 10.11.5. I suspect the NS build is similar. I am also using a
trackpad.

Leo





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#5180: 23.1.90; Secondary selection and M-w
  2009-12-11 13:33 bug#5180: 23.1.90; Secondary selection and M-w Leo
  2009-12-11 15:53 ` Drew Adams
  2016-06-05  3:16 ` Noam Postavsky
@ 2019-10-10 23:26 ` Stefan Kangas
  2020-05-03  1:27   ` Stefan Kangas
  2 siblings, 1 reply; 9+ messages in thread
From: Stefan Kangas @ 2019-10-10 23:26 UTC (permalink / raw)
  To: Alan Third; +Cc: 5180, Leo

Alan Third <alan@idiocy.org> writes:

> Leo <sdl.web@googlemail.com> writes:
>
>> 2009/12/11 Drew Adams <drew.adams@oracle.com>:
>>> I never noticed it before, but I can confirm that it happens, but only if the
>>> the Meta key is pressed before releasing the mouse button.
>
> I can replicate this, but I assume it's normal behaviour.

Same.

>> I would not find it annoying if that were my case. However, I use the
>> trackpad with a laptop. I don't know whether that causes the
>> difference.
>>
>> I also find that the Meta key has to be held down for a while (about 1
>> or 2 s)  but it can be done after releasing the mouse button (with my
>> hand off the trackpad). Thus:
>>
>>  To reproduce:
>>  1. Drag the mouse to select some text
>>  2. Stop dragging by moving your hand away from the trackpad and
>> (after a short delay) HOLD DOWN the Meta (as in M-w) key
>
> I can't replicate this in Emacs 25. Are you able to check whether you
> still get this behaviour in a recent version of Emacs?

I can't replicate this using a trackpad on current master (27.0.50).

Best regards,
Stefan Kangas





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#5180: 23.1.90; Secondary selection and M-w
  2019-10-10 23:26 ` Stefan Kangas
@ 2020-05-03  1:27   ` Stefan Kangas
  0 siblings, 0 replies; 9+ messages in thread
From: Stefan Kangas @ 2020-05-03  1:27 UTC (permalink / raw)
  To: Alan Third; +Cc: 5180-done, Leo

Stefan Kangas <stefan@marxist.se> writes:

>>>> I never noticed it before, but I can confirm that it happens, but only if the
>>>> the Meta key is pressed before releasing the mouse button.
>>
>> I can replicate this, but I assume it's normal behaviour.
>
> Same.

No one has said anything else, so I'm assuming the above conclusion is
correct, and things are working as they should.

>>> I would not find it annoying if that were my case. However, I use the
>>> trackpad with a laptop. I don't know whether that causes the
>>> difference.
>>>
>>> I also find that the Meta key has to be held down for a while (about 1
>>> or 2 s)  but it can be done after releasing the mouse button (with my
>>> hand off the trackpad). Thus:
>>>
>>>  To reproduce:
>>>  1. Drag the mouse to select some text
>>>  2. Stop dragging by moving your hand away from the trackpad and
>>> (after a short delay) HOLD DOWN the Meta (as in M-w) key
>>
>> I can't replicate this in Emacs 25. Are you able to check whether you
>> still get this behaviour in a recent version of Emacs?
>
> I can't replicate this using a trackpad on current master (27.0.50).

Two users (one of them me) have been unable to reproduce this issue,
and there have been no further comments within 6 months.

I therefore see nothing more to here, and I'm closing this bug.

If that conclusion is wrong, and this is still an issue, please reply
to this email (use "Reply to all" in your email client) and we can
reopen the bug report.

Best regards,
Stefan Kangas





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-05-03  1:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-11 13:33 bug#5180: 23.1.90; Secondary selection and M-w Leo
2009-12-11 15:53 ` Drew Adams
2009-12-11 16:53   ` Leo
2016-02-01 22:44     ` Alan Third
2016-02-02  3:37       ` Leo Liu
2016-06-05  3:16 ` Noam Postavsky
2016-06-05  9:09   ` Leo Liu
2019-10-10 23:26 ` Stefan Kangas
2020-05-03  1:27   ` Stefan Kangas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).