GNU bug report logs - #24755
25.1; Selection continues with no mouse button pressed

Previous Next

Package: emacs;

Reported by: Mats Palmgren <matspal <at> gmail.com>

Date: Fri, 21 Oct 2016 15:36:02 UTC

Severity: normal

Found in version 25.1

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Mats Palmgren <matspal <at> gmail.com>,
 Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 24755 <at> debbugs.gnu.org
Subject: Re: bug#24755: 25.1; Selection continues with no mouse button pressed
Date: Sat, 22 Oct 2016 12:04:30 +0300
> From: Mats Palmgren <matspal <at> 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.




This bug report was last modified 8 years and 265 days ago.

Previous Next


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