From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#44517: 28.0.50; Can't unselect minibuffer window Date: Sun, 8 Nov 2020 14:02:14 +0000 Message-ID: <20201108140214.GB18190@ACM> References: <87k0uwjamq.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11870"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, 44517@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 08 15:03:18 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kblHq-00030a-4X for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Nov 2020 15:03:18 +0100 Original-Received: from localhost ([::1]:56626 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kblHp-0007bi-6m for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Nov 2020 09:03:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47612) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kblHa-0007a3-9H for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2020 09:03:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48432) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kblHZ-0005IB-Uy for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2020 09:03:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kblHZ-00041N-RT for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2020 09:03:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Nov 2020 14:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44517 X-GNU-PR-Package: emacs Original-Received: via spool by 44517-submit@debbugs.gnu.org id=B44517.160484414415415 (code B ref 44517); Sun, 08 Nov 2020 14:03:01 +0000 Original-Received: (at 44517) by debbugs.gnu.org; 8 Nov 2020 14:02:24 +0000 Original-Received: from localhost ([127.0.0.1]:59978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kblGy-00040Z-18 for submit@debbugs.gnu.org; Sun, 08 Nov 2020 09:02:24 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:55501 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1kblGv-00040J-Ti for 44517@debbugs.gnu.org; Sun, 08 Nov 2020 09:02:22 -0500 Original-Received: (qmail 36007 invoked by uid 3782); 8 Nov 2020 14:02:15 -0000 Original-Received: from acm.muc.de (p2e5d5c96.dip0.t-ipconnect.de [46.93.92.150]) by localhost.muc.de (tmda-ofmipd) with ESMTP; Sun, 08 Nov 2020 15:02:14 +0100 Original-Received: (qmail 19142 invoked by uid 1000); 8 Nov 2020 14:02:14 -0000 Content-Disposition: inline In-Reply-To: <87k0uwjamq.fsf@web.de> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:192879 Archived-At: Hello, Michael. On Sun, Nov 08, 2020 at 13:28:29 +0100, Michael Heerdegen wrote: > Hello, > since some days, I experience the following issue: when I call > (read-from-minibuffer "Enter something: ") > and select a different window, .... With the mouse? With C-x o? > .... the minibuffer window automatically gets re-selected after a > short period of time. How short? 0.5s, 2s, 10s? Knowing this might help identify the associated timer. > I did not yet figure out how to reproduce for emacs -Q; with the > default settings, it is not reproducible there. > With my setup, the issue gets fixed when I do > (setq minibuffer-follows-selected-frame nil) Thanks. That suggests, vaguely, that the problem might be in the function move_minibuffer_onto_frame (in src/minibuf.c), which takes no action when minibuffer-follows-selected-frame is nil. > I CC Alan hoping 2ecbf4cfae, "Allow minibuffer to stay in its original > frame. Tidy up this area." is related and he can help so that I can > get around finding a recipe or digging further (well, it's Sunday). I strongly suspect your bug and that patch are related. Despite it being Sunday, could you perhaps nevertheless dig around a bit in the hope of finding a recipe. Thanks! > TIA, > Michael. > In GNU Emacs 28.0.50 (build 94, x86_64-pc-linux-gnu, GTK+ Version 3.24.23, cairo version 1.16.0) > of 2020-11-08 built on drachen > Repository revision: 1b2fde216cf9328578b6a6a9a8ce0ce51035304c > Repository branch: master > Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 > System Description: Debian GNU/Linux bullseye/sid > Configured features: > XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY > INOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ ZLIB > TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS JSON PDUMPER LCMS2 > Important settings: > value of $LC_ALL: de_DE.utf8 > value of $LC_COLLATE: C > value of $LC_TIME: C > value of $LANG: de_DE.utf8 > locale-coding-system: utf-8-unix -- Alan Mackenzie (Nuremberg, Germany).