From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#61337: 29.0.60; Setting frame-title-format makes Emacs to steal focus Date: Fri, 10 Feb 2023 09:15:16 +0200 Message-ID: <83fsbekn3v.fsf@gnu.org> References: <874jrydpw8.fsf@telefonica.net> <87ilgd7e9q.fsf@yahoo.com> <87mt5pxznh.fsf@telefonica.net> <875ycd6joo.fsf@yahoo.com> <87zg9ovps9.fsf@telefonica.net> <87wn4s6c40.fsf@yahoo.com> <87v8kcvllw.fsf@telefonica.net> <87o7q469vi.fsf@yahoo.com> <87r0v0uqnh.fsf@telefonica.net> <878rh760mc.fsf@yahoo.com> <87mt5nv864.fsf@telefonica.net> <874jrv5k5w.fsf@yahoo.com> <83ilgbmdo9.fsf@gnu.org> <87mt5n3zp7.fsf@yahoo.com> <835ycbm6ci.fsf@gnu.org> <87edqy53gl.fsf@yahoo.com> <87h6vuvoq9.fsf@telefonica.net> <83o7q2ltsj.fsf@gnu.org> <87cz6ivmmz.fsf@telefonica.net> <83mt5mlr5m.fsf@gnu.org> <871qmy465n.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27002"; mail-complaints-to="usenet@ciao.gmane.io" Cc: ofv@wanadoo.es, 61337@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 10 08:16:20 2023 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 1pQNdr-0006pT-67 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Feb 2023 08:16:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQNdc-0007y0-8U; Fri, 10 Feb 2023 02:16:04 -0500 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 1pQNda-0007xD-8q for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2023 02:16:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pQNdZ-0007US-W4 for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2023 02:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pQNdZ-0007rk-M0 for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2023 02:16:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Feb 2023 07:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61337 X-GNU-PR-Package: emacs Original-Received: via spool by 61337-submit@debbugs.gnu.org id=B61337.167601336030230 (code B ref 61337); Fri, 10 Feb 2023 07:16:01 +0000 Original-Received: (at 61337) by debbugs.gnu.org; 10 Feb 2023 07:16:00 +0000 Original-Received: from localhost ([127.0.0.1]:34208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQNdY-0007rV-BY for submit@debbugs.gnu.org; Fri, 10 Feb 2023 02:16:00 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQNdV-0007rH-DC for 61337@debbugs.gnu.org; Fri, 10 Feb 2023 02:15:58 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQNdP-0007Tb-LM; Fri, 10 Feb 2023 02:15:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=CzfBhKEPHSm5iV96qUUD+noBq3VCG1nLDyPmgYn9KLQ=; b=Y15sDYdjy4NBMgnbeIlo Iub87enCFVU+iemgSxHaUt5p496huLWBIQEAej7Ijxb8+2zMMwGczelelNa7XUimYYj/pAK36Ug5U rl1ddNV8TSIzqvo4UdIArBo7kLD6Ct1+wYj1dMcr7lQHmhWTFn5RIdqqs8ZnY5KpbBR6oaqZoNG1u Y7pKEV/84DjS/TYmESw2BgWYS3M/KVjFKHOnmLoleUqyTotoScO/C3Y3qLLUi3TWttzHp402XAVAL hKcqui6fDFI4eAJfE/0tYeM9y5BlGu+j7o5JGHeeRLvvQLQuCDu/uOzG34+678uH5J+D018eZL6zS eoZilZodunyo0w==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQNdO-0005M6-2F; Fri, 10 Feb 2023 02:15:51 -0500 In-Reply-To: <871qmy465n.fsf@yahoo.com> (message from Po Lu on Fri, 10 Feb 2023 10:15:48 +0800) 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:255276 Archived-At: > From: Po Lu > Cc: Óscar Fuentes , 61337@debbugs.gnu.org > Date: Fri, 10 Feb 2023 10:15:48 +0800 > > Eli Zaretskii writes: > > > But I guess we will need to agree to disagree here. > > I think you are both arguing over a misunderstanding. I don't see a misunderstanding between us. > Oscar's problem is that KWin focuses Emacs when it really should not, > when Emacs has done nothing to ask for the focus, and is in fact > iconified in a different desktop. I understand that. I'm just saying that an Emacs user, even a user such as myself, who knows one or two things about Emacs, has no way of knowing whether, while the user was away of working with a desktop, something happened that caused Emacs or WM to switch focus to the Emacs's window on that desktop. The events that can cause this on a modern system are a legion, and can be caused both by what Emacs does in the background and by the system for any number of valid reasons. Therefore, the first thing I, as a user, do when I want to resume my work, is to find out which window has the input focus; I do NOT rely on some prior knowledge of where I think the focus should be. > And even worse, that focus is set in a way that cannot easily be > perceived by the user. If the WM doesn't provide good ways for the user to tell which window has input focus, not even as a user customization, that WM is buggy and should be fixed. But that is definitely not a problem for us to solve.