From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vangelis Evangelou Newsgroups: gmane.emacs.bugs Subject: bug#70046: 29.3; ebuffers mini frame loses focus Date: Fri, 5 Apr 2024 09:31:36 +0100 Message-ID: References: <86jzlmhfsi.fsf@gnu.org> <867chmhcql.fsf@gnu.org> <87jzlm4imx.fsf@yahoo.com> <87jzlc1b2u.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000fa9ea306155549fb" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21031"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 70046@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 05 10:33:18 2024 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 1rsf0g-0005Az-Ah for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Apr 2024 10:33:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rsf0R-0006DT-T1; Fri, 05 Apr 2024 04:33:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rsf0K-0006D3-T7 for bug-gnu-emacs@gnu.org; Fri, 05 Apr 2024 04:32:58 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rsf0K-0007PN-L7 for bug-gnu-emacs@gnu.org; Fri, 05 Apr 2024 04:32:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rsf0P-0002CZ-R3 for bug-gnu-emacs@gnu.org; Fri, 05 Apr 2024 04:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vangelis Evangelou Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Apr 2024 08:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70046 X-GNU-PR-Package: emacs Original-Received: via spool by 70046-submit@debbugs.gnu.org id=B70046.17123059338216 (code B ref 70046); Fri, 05 Apr 2024 08:33:01 +0000 Original-Received: (at 70046) by debbugs.gnu.org; 5 Apr 2024 08:32:13 +0000 Original-Received: from localhost ([127.0.0.1]:35165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rsezd-00028S-2I for submit@debbugs.gnu.org; Fri, 05 Apr 2024 04:32:13 -0400 Original-Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]:51617) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rseza-00028C-AA for 70046@debbugs.gnu.org; Fri, 05 Apr 2024 04:32:11 -0400 Original-Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2d29aad15a5so16964591fa.3 for <70046@debbugs.gnu.org>; Fri, 05 Apr 2024 01:32:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712305918; x=1712910718; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=i4fX+R0FdVwRESZ9ezu9O9PnY4CEObi0/GLun94t8YE=; b=JFoeJU9KQMJAun/2tO4iVYp/vXSE48KjONA1aCbXxxlEB6KS0iPR1jUgVHIMpQDwph Fi2Nr72dXq3AYTUN705aVXL1CVDd9hrfC4dW2OH4+FZKTX6u0rPL8gp4fYQPpRMdE3dZ KjUcD4wXKblswxQ/yEcDqh5Kd6D4KsuCg2vPG0vYVfVLSGvTfrCfIXT3W/o997JS8OYC LbBM30hYYPcztjw6do/GqzK/Lyp4/BzFqJTN9VfeezrM3E5xxokpehPE/mZPQVaEhM4y VcQC+05ZszfgTYtGRZshGt9NtXnSNrj3+CGPCn4wsy+sEO+px6hferIcLIaK2H4ji/8z l2Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712305918; x=1712910718; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=i4fX+R0FdVwRESZ9ezu9O9PnY4CEObi0/GLun94t8YE=; b=H3PuBYjPAfs7YRQRVvpBff2T/nPXPi4komWF9g6BUd+G48Usu9SjDH3Dwy/JypJGsJ 0Ssjx6brWO0T4Qq/K16T/FewZpddaBkgYEkmdr3Vqd0z1TXIYELBJ1eDkA1tI7/fVIpk WahkD/oQcU6D14Ww45MaOt55KEUmgbgDUcKoJ4jNWd0EK0EWJ3mYa9MIXXWJwRTpXQ9H C5A/bL5wVjldaqeNQbFkS/T6S1VIfErrZmibNOwCNhgqcbisdXHoVj5cUioIxF93bN1N Bl/rIRg1kFfZMZ1bxddIimdIuaFAntkoYdJhnfjKzF1yGl4GOczNTpauPezn5YJwzE/W FF+Q== X-Forwarded-Encrypted: i=1; AJvYcCXMOqrogBdNBHGnuzB5eKJ1kWoia58HuCXX7tBc2d67yL53DzKUAHXHM1q51xN7n44c5jatWjhFYfroBjwkUVEGGNI7Pcs= X-Gm-Message-State: AOJu0YzN4BsQVydODWmWPNwyA1wMMivnOBTwyGEe+iWbv9teXNQ5iMR4 ZRr1EAiNWVNaXazIpRgVFuhwfssjAB1KAL4nkYW6ZaiTEE+zIkGa/4XRBSu+S5Zto/4ikhzeHQC FcEnLZISK5VQLO3cCNOkzHy7mgrU= X-Google-Smtp-Source: AGHT+IG3AU8CZkdOW8xdT39knlkpRScV6rcAX/QBctGfxqDdqJbLnENAYFsV8waD7t5eRz4aTJI5t1UUJ5xZ0TaX+Jk= X-Received: by 2002:a05:651c:1422:b0:2d8:68fb:399b with SMTP id u34-20020a05651c142200b002d868fb399bmr435779lje.7.1712305917825; Fri, 05 Apr 2024 01:31:57 -0700 (PDT) In-Reply-To: <87jzlc1b2u.fsf@yahoo.com> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:282694 Archived-At: --000000000000fa9ea306155549fb Content-Type: text/plain; charset="UTF-8" I have run emacs like this emacs -Q --eval '(progn (setq x-allow-focus-stealing nil) (ebuffers (find-file "~/fileA") (find-file "~/fileB")))' This does not solve the issue. On Fri, 5 Apr 2024 at 09:13, Po Lu wrote: > Vangelis Evangelou writes: > > > Dear all. > > > > I have further information on how to reproduce this bug. I believe > > this issue is a combination of emacs version 29.1 and later (the issue > > is absent in version 28.1) and my window manager. My window manager is > > XFCE version 4.18. In the XFCE settings choose "window manager > > tweaks", then the "focus" tab and untick the option "activate focus > > stealing prevention". With this choice, the issue I mentioned with the > > miniframe losing focus can be reproduced. When the "activate focus > > stealing prevention" option is selected, then this issue goes > > away. See settings image here > > https://docs.xfce.org/xfce/xfwm4/wmtweaks#focus I hope this helps. > > What if you set x-allow-focus-stealing to nil? > --000000000000fa9ea306155549fb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have run emacs like this

e= macs -Q --eval '(progn (setq x-allow-focus-stealing nil) (ebuffers (fin= d-file "~/fileA") (find-file "~/fileB")))'

This does not solve the issue.

On Fri, 5 Apr 2024= at 09:13, Po Lu <luangruo@yahoo.c= om> wrote:
evangelou@gmail.com> writes:

> Dear all.
>
> I have further information on how to reproduce this bug. I believe
> this issue is a combination of emacs version 29.1 and later (the issue=
> is absent in version 28.1) and my window manager. My window manager is=
> XFCE version 4.18. In the XFCE settings choose "window manager > tweaks", then the "focus" tab and untick the option &qu= ot;activate focus
> stealing prevention". With this choice, the issue I mentioned wit= h the
> miniframe losing focus can be reproduced. When the "activate focu= s
> stealing prevention" option is selected, then this issue goes
> away. See settings image here
> https://docs.xfce.org/xfce/xfwm4/wmtweaks#focus<= /a> I hope this helps.

What if you set x-allow-focus-stealing to nil?
--000000000000fa9ea306155549fb--