unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* ignore mouse-wheel press during rotation
@ 2006-02-02 17:09 Drew Adams
  2006-02-02 21:21 ` Kim F. Storm
                   ` (3 more replies)
  0 siblings, 4 replies; 24+ messages in thread
From: Drew Adams @ 2006-02-02 17:09 UTC (permalink / raw)


This might be considered a bug fix request, but it is probably better seen
as feature request. It concerns mice that have a wheel that can be rotated
or pressed (e.g. clicked). In the latter case, the wheel is (usually?
always?) treated as mouse-2.

The problem (annoyance) is that with many (all?) such mice it is easy to
accidentally press the wheel while trying to rotate it (the rotation finger
movement ends similarly to a press movement). In Emacs, this results in a
rotation (wheel) event followed by a mouse-2 event, which is rarely what you
want. This can be disorienting for a gnubie (e.g. unexpected pasted text),
and it is anyway annoying for oldbies.

Note that this is less of a problem (nonexistent?) in other applications,
which do not use mouse-2 the way Emacs does. For example, you don't notice
this problem in common Web browsers because you generally use mouse-1, not
mouse-2, for clicking and press-dragging. Emacs makes heavy use of mouse-2,
so the problem arises more frequently.

It would be great to remove this annoyance. This could probably be done by
ignoring mouse-2 events during and shortly after wheel-rotation events. This
might mean something like the following:

1. Ignore mouse-2 events between two mouse wheel rotation events.

2. Ignore a mouse-2 event following a mouse wheel rotation event
   within some (configurable) duration.

Perhaps #1 is not necessary or desirable. #2 should be sufficient, I think
(but I'm not sure).

WDOT? Is this something that could be tackled before the release? If not,
could we put it on the to-do list for after the release?

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

end of thread, other threads:[~2006-02-06 15:27 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-02 17:09 ignore mouse-wheel press during rotation Drew Adams
2006-02-02 21:21 ` Kim F. Storm
2006-02-02 22:55   ` Drew Adams
2006-02-02 23:50     ` Kim F. Storm
2006-02-03  0:03       ` Drew Adams
2006-02-04 12:51         ` Eli Zaretskii
2006-02-03 10:21   ` Jason Rumney
2006-02-03 15:57     ` Drew Adams
2006-02-04  9:26       ` Eli Zaretskii
2006-02-04 13:03       ` Eli Zaretskii
2006-02-04 12:56     ` Eli Zaretskii
2006-02-04 18:20       ` Drew Adams
2006-02-05  4:25         ` Eli Zaretskii
2006-02-05 20:51           ` Kim F. Storm
2006-02-02 22:15 ` John Paul Wallington
2006-02-03 10:20 ` Jason Rumney
2006-02-03 16:06   ` Drew Adams
2006-02-03 19:21   ` Eli Zaretskii
2006-02-03 23:04   ` Stefan Monnier
2006-02-04 13:06     ` Eli Zaretskii
2006-02-04 16:52       ` Stefan Monnier
2006-02-03 16:13 ` Piet van Oostrum
2006-02-03 22:16   ` Luc Teirlinck
2006-02-06 15:27     ` Piet van Oostrum

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).