From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.bugs Subject: bug#48229: 28.0.50; C-g leaves inactive minibuffer selected with pop-up-frames Date: Thu, 06 May 2021 16:24:43 +0100 Message-ID: <878s4r3mx0.fsf@tcd.ie> References: <87zgxaqzca.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10924"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Alan Mackenzie , 48229@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 06 17:25:17 2021 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 1lefsJ-0002g8-50 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 May 2021 17:25:15 +0200 Original-Received: from localhost ([::1]:50062 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lefsI-0004d3-0r for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 May 2021 11:25:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lefs6-0004XS-6L for bug-gnu-emacs@gnu.org; Thu, 06 May 2021 11:25:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54758) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lefs5-0002F1-Uv for bug-gnu-emacs@gnu.org; Thu, 06 May 2021 11:25:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lefs5-0001qe-Ph for bug-gnu-emacs@gnu.org; Thu, 06 May 2021 11:25:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 May 2021 15:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48229 X-GNU-PR-Package: emacs Original-Received: via spool by 48229-submit@debbugs.gnu.org id=B48229.16203146947085 (code B ref 48229); Thu, 06 May 2021 15:25:01 +0000 Original-Received: (at 48229) by debbugs.gnu.org; 6 May 2021 15:24:54 +0000 Original-Received: from localhost ([127.0.0.1]:38069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lefry-0001qD-Dv for submit@debbugs.gnu.org; Thu, 06 May 2021 11:24:54 -0400 Original-Received: from mail-wr1-f53.google.com ([209.85.221.53]:37692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lefrv-0001q0-2v for 48229@debbugs.gnu.org; Thu, 06 May 2021 11:24:52 -0400 Original-Received: by mail-wr1-f53.google.com with SMTP id z6so6062494wrm.4 for <48229@debbugs.gnu.org>; Thu, 06 May 2021 08:24:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=DfeijziWD8b8zTFiSr/0tVIcOdQ7qNliaD/GFrAssNQ=; b=SKlmWum7wzhsCAKWx/GkNmRp5nrJOKZwj6c/AsK1+YRBLm7ySBlLM6D0b8wSZPfCc5 P8WDCk4QD5giMIEpqXzDbKgT88enY9R5dtn/SzkTIhAgvA59owyQcFbAEb2PG2BEZQRU DoFNpuBXm6UM0mKZcj4qoloCAR/5e2w6Z2gkiM5h9LZryGJwEfOwAKMYyXClJOyjDZeY 5I6tfsn2x3ncpzFIBJP/rdTh5OVD4r9E9Lptx5DYWJzRI9KvBTmKtv5rvP89WCJFuNQ0 izsfFcctosxzIf+vV2w528TwG+TdL3o1tsqnqvQsVgOaU5AxEb2KNJUocH0EtDADU3BT CKDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=DfeijziWD8b8zTFiSr/0tVIcOdQ7qNliaD/GFrAssNQ=; b=tAvDD7lvudWE1Owe8pDlgIT3yu+tyE1B6jFWqxk08qXuGoSDqeaFzaStvJ3A/iWmrq r+mgsHtUKno0FPdNnSvcq004JKhnSPJjAMJylzEsUyFxI++SVNXfwJHX/E1AMr69UKhR TK/k7JOZa/TfdSmMfboTJUiGoXHVIu+5Urs4C/NKen3yFXkWKR1awmk+O6gly9aRfleD 3iS73ELzbpLXM8nt4M31cox0uCmijBrdPVheGILCyCItmFkmPsRX1zVfJG1k0FFy4SA+ 4zgn24cKZLo8YMxr18fphBNPgxEV8AFkBe1NLPPKvIdNFEiQIh7kUmIz0/EAzOA7b4kj M2+g== X-Gm-Message-State: AOAM532rxrieFanPU8KSs9EdV0jGMe2sK7Cl45qMBCec2taclFylQzz5 Mq7xdzqW1FjNU2gm41P1NRrDtg== X-Google-Smtp-Source: ABdhPJzL1sNKw04Cq9ph5B5CptO0kinTqyr1VmEW9cNqDDNxuUuADnlPEABS+NrWrRgB+alf+UT/hw== X-Received: by 2002:adf:d0cd:: with SMTP id z13mr5999533wrh.373.1620314685154; Thu, 06 May 2021 08:24:45 -0700 (PDT) Original-Received: from localhost ([2a02:8084:20e2:c380:d15:339e:aa10:60f1]) by smtp.gmail.com with ESMTPSA id s83sm3716009wms.16.2021.05.06.08.24.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 May 2021 08:24:44 -0700 (PDT) In-Reply-To: (martin rudalics's message of "Thu, 6 May 2021 09:45:38 +0200") 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:205845 Archived-At: forcemerge 47766 48229 quit martin rudalics writes: >> Ignore the missing scrollbar; that's a separate long-standing issue ;). > > You mean a missing slider and a strange background? Yes, although the background isn't strange: it's a small section of a scenic wallpaper from my home country, I think you'd like it ;). > Would it help to put scroll bars on the right? Yes, I no longer get a missing slider after (set-scroll-bar-mode 'right). > In either case we should investigate this, or at least document it. Indeed, it's on my todo to report this properly (I also get a missing menu bar sometimes with Lucid/GTK, but I only notice it when I'm in the middle of something else in 'emacs -Q', because in my config I have all of these elements disabled), but I need to study for my finals first. >> 3. q >> >> As part of another long-standing issue on Xmonad (I guess because it >> doesn't really do invisibility/minimisation/what-have-you), this >> actually retains the *Completions* frame (which is still highlighted as >> focused by the WM), but now neither frame looks "active" (all three >> visible cursors are hollow): > > Have you ever tried to customize `frame-auto-hide-function'? Yes, in my config I have: (defun blc-delete-spare-frame (&optional frame force) "Delegate to `delete-frame' unless FRAME is alone in terminal." (unless (eq (next-frame) (selected-frame)) (delete-frame frame force))) (setq-default frame-auto-hide-function #'blc-delete-spare-frame) amongst various other settings and advice to elevate the citizenship status of pop-up-frames. > If it's really impossible to get rid of that frame, we should document > it too. > >> 4. Close the *Completions* frame. In Xmonad that's Mod-Shift-c by >> default. >> >> The minibuffer of the original frame is now selected: >> >> 5. C-g >> >> This leaves the inactive minibuffer selected: > > But C-x o will select another window, right? Right, but thereafter any use of the minibuffer leaves the minibuffer selected at the end, that is until I type C-x o again. Anyway, I can no longer reproduce the recipe in the OP following: Fix wrong handling of minibuffers when frames get iconified/made invisible c873d16af6 2021-05-06 10:48:14 +0000 https://git.sv.gnu.org/cgit/emacs.git/commit/?id=c873d16af61ae9b956c6dd6d9e50ebad2bb7666e So I'm merging this report with bug#47766. As Gregory points out, the related bug#48249 remains. Thanks, -- Basil