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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7476 in the body.
You can then email your comments to 7476 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7476
; Package
emacs
.
(Wed, 24 Nov 2010 22:16:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Drew Adams" <drew.adams <at> oracle.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 24 Nov 2010 22:16:02 GMT)
Full text and
rfc822 format available.
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'
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7476
; Package
emacs
.
(Sat, 27 Nov 2010 09:03:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 7476 <at> debbugs.gnu.org (full text, mbox):
> From: "Drew Adams" <drew.adams <at> oracle.com>
> Date: Wed, 24 Nov 2010 14:19:13 -0800
> Cc:
>
> 4. Now disable tooltip mode:
> M-x tooltip-mode
>
> 5. Repeat #3. The prompt is not shown.
> Instead, the mouse keystrokes are echoed.
I can see this in the MS-Windows build, but not in the MS-DOS build
(which runs with tooltip-mode disabled by default, and cannot turn it
on). There's some Windows-specific code on the way of handling this
scenario, so the problem could be Windows-specific. Could people
please try this on X and see if it happens there? The toolkit used to
build Emacs could matter, so please report that as well.
Thanks.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7476
; Package
emacs
.
(Sat, 27 Nov 2010 09:24:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 7476 <at> debbugs.gnu.org (full text, mbox):
On Sat, Nov 27, 2010 at 10:10, Eli Zaretskii <eliz <at> gnu.org> wrote:
> [...]
> Could people
> please try this on X and see if it happens there? The toolkit used to
> build Emacs could matter, so please report that as well.
>
I cannot reproduce it on my box (I see the prompt with and without
tooltip-mode enabled).
In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0)
of 2010-11-26 on dani-P5PL2
Windowing system distributor `The X.Org Foundation', version 11.0.10900000
--
Dani Moncayo
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7476
; Package
emacs
.
(Sat, 27 Nov 2010 10:25:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 7476 <at> debbugs.gnu.org (full text, mbox):
On Sat, Nov 27, 2010 at 10:29, Dani Moncayo <dmoncayo <at> gmail.com> wrote:
>
> I cannot reproduce it on my box (I see the prompt with and without
> tooltip-mode enabled).
>
> In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0)
> of 2010-11-26 on dani-P5PL2
> Windowing system distributor `The X.Org Foundation', version 11.0.10900000
>
On further tests I've found a way to reproduce this problem on my
system: Just before step #5, give focus to another GNOME application,
and then select Emacs again,
--
Dani Moncayo
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7476
; Package
emacs
.
(Sat, 27 Nov 2010 20:25:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 7476 <at> debbugs.gnu.org (full text, mbox):
> Date: Sat, 27 Nov 2010 11:29:44 +0100
> From: Dani Moncayo <dmoncayo <at> gmail.com>
> Cc: Drew Adams <drew.adams <at> oracle.com>, 7476 <at> debbugs.gnu.org
>
> On Sat, Nov 27, 2010 at 10:29, Dani Moncayo <dmoncayo <at> gmail.com> wrote:
> >
> > I cannot reproduce it on my box (I see the prompt with and without
> > tooltip-mode enabled).
> >
> > In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0)
> > of 2010-11-26 on dani-P5PL2
> > Windowing system distributor `The X.Org Foundation', version 11.0.10900000
> >
>
> On further tests I've found a way to reproduce this problem on my
> system: Just before step #5, give focus to another GNOME application,
> and then select Emacs again,
Thanks. So I guess this is not specific to MS-Windows.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#7476
; Package
emacs
.
(Tue, 10 Oct 2023 13:17:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 7476 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> Date: Sat, 27 Nov 2010 11:29:44 +0100
>> From: Dani Moncayo <dmoncayo <at> gmail.com>
>> Cc: Drew Adams <drew.adams <at> oracle.com>, 7476 <at> debbugs.gnu.org
>>
>> On Sat, Nov 27, 2010 at 10:29, Dani Moncayo <dmoncayo <at> gmail.com> wrote:
>> >
>> > I cannot reproduce it on my box (I see the prompt with and without
>> > tooltip-mode enabled).
>> >
>> > In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0)
>> > of 2010-11-26 on dani-P5PL2
>> > Windowing system distributor `The X.Org Foundation', version
11.0.10900000
>> >
>>
>> On further tests I've found a way to reproduce this problem on my
>> system: Just before step #5, give focus to another GNOME application,
>> and then select Emacs again,
>
> Thanks. So I guess this is not specific to MS-Windows.
I tried to reproduce it on MS-Windows but after the fix for Bug#3192, it
doesn't reproduce for me anymore. The fix is in:
commit f22346fe5abdbdac2ba5f690c11fda4d4f5d22d6
Author: Mauro Aranda <maurooaranda <at> gmail.com>
Date: Mon Sep 16 22:17:51 2019 +0200
With tooltip-mode disabled, don't unconditionally clear the echo area
* lisp/tooltip.el (tooltip-show-help-non-mode): Only clear the
echo area when the current message displayed is a tooltip message
(Bug#3192).
If I revert that change, then it's easily reproducible.
I cannot reproduce it on GNU/Linux neither (even following the
extra step given by Dani Moncayo)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#7476
; Package
emacs
.
(Tue, 10 Oct 2023 13:44:01 GMT)
Full text and
rfc822 format available.
Message #23 received at 7476 <at> debbugs.gnu.org (full text, mbox):
> Date: Tue, 10 Oct 2023 10:15:35 -0300
> Cc: Dani Moncayo <dmoncayo <at> gmail.com>, drew.adams <at> oracle.com
> From: Mauro Aranda <maurooaranda <at> gmail.com>
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> >> Date: Sat, 27 Nov 2010 11:29:44 +0100
> >> From: Dani Moncayo <dmoncayo <at> gmail.com>
> >> Cc: Drew Adams <drew.adams <at> oracle.com>, 7476 <at> debbugs.gnu.org
> >>
> >> On Sat, Nov 27, 2010 at 10:29, Dani Moncayo <dmoncayo <at> gmail.com> wrote:
> >> >
> >> > I cannot reproduce it on my box (I see the prompt with and without
> >> > tooltip-mode enabled).
> >> >
> >> > In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0)
> >> > of 2010-11-26 on dani-P5PL2
> >> > Windowing system distributor `The X.Org Foundation', version
> 11.0.10900000
> >> >
> >>
> >> On further tests I've found a way to reproduce this problem on my
> >> system: Just before step #5, give focus to another GNOME application,
> >> and then select Emacs again,
> >
> > Thanks. So I guess this is not specific to MS-Windows.
>
> I tried to reproduce it on MS-Windows but after the fix for Bug#3192, it
> doesn't reproduce for me anymore. The fix is in:
>
> commit f22346fe5abdbdac2ba5f690c11fda4d4f5d22d6
> Author: Mauro Aranda <maurooaranda <at> gmail.com>
> Date: Mon Sep 16 22:17:51 2019 +0200
>
> With tooltip-mode disabled, don't unconditionally clear the echo area
>
> * lisp/tooltip.el (tooltip-show-help-non-mode): Only clear the
> echo area when the current message displayed is a tooltip message
> (Bug#3192).
>
>
> If I revert that change, then it's easily reproducible.
>
> I cannot reproduce it on GNU/Linux neither (even following the
> extra step given by Dani Moncayo)
Then I guess we can finally close this bug.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#7476
; Package
emacs
.
(Tue, 10 Oct 2023 13:49:01 GMT)
Full text and
rfc822 format available.
Message #26 received at 7476 <at> debbugs.gnu.org (full text, mbox):
close 7476 27.1
quit
>> I tried to reproduce it on MS-Windows but after the fix for Bug#3192, it
>> doesn't reproduce for me anymore. The fix is in:
>>
>> commit f22346fe5abdbdac2ba5f690c11fda4d4f5d22d6
>> Author: Mauro Aranda <maurooaranda <at> gmail.com>
>> Date: Mon Sep 16 22:17:51 2019 +0200
>>
>> With tooltip-mode disabled, don't unconditionally clear the
echo area
>>
>> * lisp/tooltip.el (tooltip-show-help-non-mode): Only clear the
>> echo area when the current message displayed is a tooltip message
>> (Bug#3192).
>>
>>
>> If I revert that change, then it's easily reproducible.
>>
>> I cannot reproduce it on GNU/Linux neither (even following the
>> extra step given by Dani Moncayo)
>
> Then I guess we can finally close this bug.
Great. Closing.
bug marked as fixed in version 27.1, send any further explanations to
7476 <at> debbugs.gnu.org and "Drew Adams" <drew.adams <at> oracle.com>
Request was from
Mauro Aranda <maurooaranda <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Tue, 10 Oct 2023 13:49:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 08 Nov 2023 12:24:10 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 184 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.