GNU bug report logs - #48258
28.0.50; minibuffer window not selected with non-nil mouse-autoselect-window

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Thu, 6 May 2021 15:42:02 UTC

Severity: normal

Tags: moreinfo

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

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 48258 in the body.
You can then email your comments to 48258 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#48258; Package emacs. (Thu, 06 May 2021 15:42:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stephen Berman <stephen.berman <at> gmx.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 06 May 2021 15:42:02 GMT) Full text and rfc822 format available.

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

From: Stephen Berman <stephen.berman <at> gmx.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; minibuffer window not selected with non-nil
 mouse-autoselect-window
Date: Thu, 06 May 2021 17:41:23 +0200
0. emacs -Q
1. Type `M-x set-variable mouse-autoselect-window RET t RET'.
2. Type `M-x gnus', answer `y' at the prompt; in the Gnus buffer type
   `B RET news.gmane.io RET'.
3. In the *Gnus Browse Server* buffer type `C-s gmane.emacs.devel' to
   put point on the gmane.emacs.devel group; type RET to enter it.
4. Type `j <b83ee8b3-0889-0796-e5f0-f18fcb8701b4 <at> icloud.com> RET', which
   displays an article containing an attachment.
5. Type `2 K o'.
=> The minibuffer displays a prompt to enter where to save the MIME part
   to, but the selected window remains the one containing Gnus Summary
   buffer instead of switching to the minibuffer window (but see below).

If I now select the minibuffer window, type C-g, select the Summary
buffer window and then repeat step 5, now the minibuffer window gets
selected, as expected.

Sometimes there is no failure to select the minibuffer window the first
time around, but I haven't been able to isolate the necessary
conditions.  I also haven't seen anything like this outside of Gnus.
And I only see the failure with non-nil mouse-autoselect-window, despite
the recipe only involving the keyboard.  This appears to be an old bug:
I can reproduce it with the above recipe not only in Emacs 28 and 27 but
also 26 (though my impression is I haven't been seeing it in normal use
for that long).


In GNU Emacs 28.0.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.24.17, cairo version 1.17.3)
 of 2021-04-26 built on strobe-jhalfs
Repository revision: 40c71e574ad27deee003a0850a40171750234d59
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12008000
System Description: Linux From Scratch SVN-20200401

Configured using:
 'configure --with-xwidgets 'CFLAGS=-Og -g3'
 PKG_CONFIG_PATH=/opt/qt5/lib/pkgconfig'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG
LCMS2 LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP
SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM XWIDGETS GTK3
ZLIB




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#48258; Package emacs. (Fri, 01 Jul 2022 12:16:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: 48258 <at> debbugs.gnu.org
Subject: Re: bug#48258: 28.0.50; minibuffer window not selected with non-nil
 mouse-autoselect-window
Date: Fri, 01 Jul 2022 14:15:08 +0200
Stephen Berman <stephen.berman <at> gmx.net> writes:

> 0. emacs -Q
> 1. Type `M-x set-variable mouse-autoselect-window RET t RET'.
> 2. Type `M-x gnus', answer `y' at the prompt; in the Gnus buffer type
>    `B RET news.gmane.io RET'.
> 3. In the *Gnus Browse Server* buffer type `C-s gmane.emacs.devel' to
>    put point on the gmane.emacs.devel group; type RET to enter it.
> 4. Type `j <b83ee8b3-0889-0796-e5f0-f18fcb8701b4 <at> icloud.com> RET', which
>    displays an article containing an attachment.
> 5. Type `2 K o'.
> => The minibuffer displays a prompt to enter where to save the MIME part
>    to, but the selected window remains the one containing Gnus Summary
>    buffer instead of switching to the minibuffer window (but see below).

[...]

> Sometimes there is no failure to select the minibuffer window the first
> time around, but I haven't been able to isolate the necessary
> conditions.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

I'm unable to reproduce this in Emacs 29.  Do you still see this
behaviour in the current Emacs?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 01 Jul 2022 12:16:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#48258; Package emacs. (Fri, 01 Jul 2022 12:44:01 GMT) Full text and rfc822 format available.

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

From: Stephen Berman <stephen.berman <at> gmx.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 48258 <at> debbugs.gnu.org
Subject: Re: bug#48258: 28.0.50; minibuffer window not selected with non-nil
 mouse-autoselect-window
Date: Fri, 01 Jul 2022 14:43:30 +0200
On Fri, 01 Jul 2022 14:15:08 +0200 Lars Ingebrigtsen <larsi <at> gnus.org> wrote:

> Stephen Berman <stephen.berman <at> gmx.net> writes:
>
>> 0. emacs -Q
>> 1. Type `M-x set-variable mouse-autoselect-window RET t RET'.
>> 2. Type `M-x gnus', answer `y' at the prompt; in the Gnus buffer type
>>    `B RET news.gmane.io RET'.
>> 3. In the *Gnus Browse Server* buffer type `C-s gmane.emacs.devel' to
>>    put point on the gmane.emacs.devel group; type RET to enter it.
>> 4. Type `j <b83ee8b3-0889-0796-e5f0-f18fcb8701b4 <at> icloud.com> RET', which
>>    displays an article containing an attachment.
>> 5. Type `2 K o'.
>> => The minibuffer displays a prompt to enter where to save the MIME part
>>    to, but the selected window remains the one containing Gnus Summary
>>    buffer instead of switching to the minibuffer window (but see below).
>
> [...]
>
>> Sometimes there is no failure to select the minibuffer window the first
>> time around, but I haven't been able to isolate the necessary
>> conditions.
>
> (I'm going through old bug reports that unfortunately weren't resolved
> at the time.)
>
> I'm unable to reproduce this in Emacs 29.  Do you still see this
> behaviour in the current Emacs?

No, and I can't reproduce it now on Emacs 27 and 28 either, so I guess
the bug should be closed as unreproducible.

Steve Berman




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#48258; Package emacs. (Fri, 01 Jul 2022 12:51:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: 48258 <at> debbugs.gnu.org
Subject: Re: bug#48258: 28.0.50; minibuffer window not selected with non-nil
 mouse-autoselect-window
Date: Fri, 01 Jul 2022 14:49:58 +0200
Stephen Berman <stephen.berman <at> gmx.net> writes:

> No, and I can't reproduce it now on Emacs 27 and 28 either, so I guess
> the bug should be closed as unreproducible.

Thanks; I'm closing this, then.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 48258 <at> debbugs.gnu.org and Stephen Berman <stephen.berman <at> gmx.net> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 01 Jul 2022 12:51: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. (Sat, 30 Jul 2022 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 243 days ago.

Previous Next


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