unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Mats Palmgren <matspal@gmail.com>,
	Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 24755@debbugs.gnu.org
Subject: bug#24755: 25.1; Selection continues with no mouse button pressed
Date: Sat, 22 Oct 2016 12:04:30 +0300	[thread overview]
Message-ID: <83inskrbz5.fsf@gnu.org> (raw)
In-Reply-To: <4bcf2767-b3e7-05dd-8ef5-80b8af60ca7a@gmail.com> (message from Mats Palmgren on Fri, 21 Oct 2016 16:56:00 +0200)

> From: Mats Palmgren <matspal@gmail.com>
> Date: Fri, 21 Oct 2016 16:56:00 +0200
> 
> 1. Visit a buffer with some text
> 2. Press the left mouse button
> 3. Drag the mouse to select some text
> 4. Press the Control key
> 5. Release the mouse button
> 6. Continue to move the mouse
> 
> Actual Result:
> Moving the mouse continues to select text, even though no mouse button
> or keys are pressed.
> 
> Expected Result:
> Selection should stop at 5.

Stefan, could you please fix this?  It seems to be due to changes in
how mouse-drag-track handles mouse events: in Emacs 24.5, the code
handled mouse clicks as well, whereas now it doesn't seem to.  So
releasing the mouse button while Ctrl or Shift is pressed signals an
error now, instead of finishing the drag event.

The fix should go to the emacs-25 branch.

Thanks.





  reply	other threads:[~2016-10-22  9:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-21 14:56 bug#24755: 25.1; Selection continues with no mouse button pressed Mats Palmgren
2016-10-22  9:04 ` Eli Zaretskii [this message]
2016-10-26 19:29   ` Stefan Monnier
2016-10-26 19:52     ` Eli Zaretskii
2016-10-26 20:13       ` Stefan Monnier
2016-10-26 20:22       ` Mats Palmgren
2016-10-26 20:27         ` Stefan Monnier
2016-10-26 21:25           ` Mats Palmgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83inskrbz5.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=24755@debbugs.gnu.org \
    --cc=matspal@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).