GNU bug report logs -
#7476
24.0.50; tooltip-mode disabled interferes with x-popup-menu prompts
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Wed, 24 Nov 2010 22:16:02 UTC
Severity: normal
Found in version 24.0.50
Fixed in version 27.1
Done: Mauro Aranda <maurooaranda <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
emacs -Q
1. Eval this:
(defun foo (event)
"..."
(interactive "e")
(sit-for 0)
(let ((selection
(x-popup-menu
event
'("Foo" (""
("Bar" . ignore)
("Toto" . picture-clear-rectangle-to-register))))))
(and selection (call-interactively selection))))
(global-set-key [mouse-3] 'foo)
2. M-x picture-mode
3. Click mouse-1 somewhere then mouse-3 somewhere else.
Choose Toto in the menu.
You will see the `read-char' prompt from
`picture-clear-rectangle-to-register' in the minibuffer:
Rectangle to register:
This is all as it should be.
4. Now disable tooltip mode:
M-x tooltip-mode
5. Repeat #3. The prompt is not shown.
Instead, the mouse keystrokes are echoed.
(Setting `echo-keystrokes' to nil does not help.)
Emacs should show the prompt.
In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
of 2010-11-22 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4) --no-opt --cflags
-Ic:/imagesupport/include'
This bug report was last modified 1 year and 282 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.