[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Closing popup causes mouse event
From: |
David Reitter |
Subject: |
Closing popup causes mouse event |
Date: |
Sat, 15 Oct 2005 13:15:04 +0100 |
When a popup menu is opened (for example with C-mouse-1 or S-mouse-1)
and closed by clicking somewhere else, it seems like an extra mouse
event is sent.
This can cause the point to be set, the region to be removed or
extended and what not - all of which is undesirable and unexpected.
Also, there seems to be something more going on than just a single
mouse event that is sent.
If you fill a buffer with text, set the point in the upper left part,
move the mouse cursor to the lower right (over text, position "A")
and do a S-mouse-1, the font popup menu opens. Then, mouse the mouse
to the lower left (over text, position "B") and click mouse-1. What
happens for me is that the text is selected from A to B gets selected
(and the point is moved).
This is with a build from today's CVS.
---
In GNU Emacs 22.0.50.1 (powerpc-apple-darwin8.2.0)
of 2005-10-15 on lucy
X server distributor `Apple Computers', version 10.4.2
configured using `configure '--without-x' '--prefix=/usr/local''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
locale-coding-system: iso-latin-1
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
mouse-wheel-mode: t
encoded-kbd-mode: t
tool-bar-mode: t
tooltip-mode: t
auto-compression-mode: t
menu-bar-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
line-number-mode: t
transient-mark-mode: identity
Recent input:
d n v l k s d n v l s d v <return> s d <return> v s
<return> d v <return> d s v <return> s d <return> v
s d v s d v <down-mouse-1> <mouse-movement> <mouse-movement>
<drag-mouse-1> <down-mouse-1> <mouse-movement> <mouse-movement>
<drag-mouse-1> <S-down-mouse-1> <drag-mouse-1> <help-echo>
<help-echo> <help-echo> <down-mouse-1> <mouse-1> s
d l k v s d k l n v l k s d k l v d s l k n v l s d
k n l v k d s v s d v s d v s d v <help-echo> <menu-bar>
<help-menu> <report-emacs-bug>
Recent messages:
Loading mwheel...done
(/Applications/Aquamacs Emacs.app/Contents/MacOS/Aquamacs Emacs -Q)
For information about the GNU Project and its goals, type C-h C-p.
Mark set [4 times]
Loading emacsbug...done
- Closing popup causes mouse event,
David Reitter <=