From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#57468: 29.0.50; Text cursor continues to blink when frame loses focus Date: Sat, 03 Sep 2022 21:44:01 +0800 Message-ID: <87ler0efoe.fsf@yahoo.com> References: <25355.64624.561352.871099@orion.rgrjr.com> <87h71vnkic.fsf@gnus.org> <25356.65468.697925.958369@orion.rgrjr.com> <87h71uaux7.fsf@gnus.org> <83h71uuegm.fsf@gnu.org> <25358.40536.609919.763436@orion.rgrjr.com> <87k06o91c5.fsf@gnus.org> <25359.45100.999353.785164@orion.rgrjr.com> <25359.46875.604087.626984@orion.rgrjr.com> <87mtbgiygh.fsf@gnus.org> <8735d8g0r3.fsf@yahoo.com> <87mtbghdzm.fsf@gnus.org> <87y1v0ekn6.fsf@yahoo.com> <87zgfgd5il.fsf@gnus.org> <87tu5oej97.fsf@yahoo.com> <877d2kd46n.fsf@gnus.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8523"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 57468@debbugs.gnu.org, Eli Zaretskii , Bob Rogers To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 03 15:45:31 2022 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 1oUTSl-000268-Mz for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Sep 2022 15:45:31 +0200 Original-Received: from localhost ([::1]:38438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUTSj-00013S-Af for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Sep 2022 09:45:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54350) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUTSI-00012W-Po for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2022 09:45:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52527) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oUTSI-0004xf-FS for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2022 09:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oUTSI-0003Mq-75 for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2022 09:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Sep 2022 13:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57468 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 57468-submit@debbugs.gnu.org id=B57468.166221265612836 (code B ref 57468); Sat, 03 Sep 2022 13:45:02 +0000 Original-Received: (at 57468) by debbugs.gnu.org; 3 Sep 2022 13:44:16 +0000 Original-Received: from localhost ([127.0.0.1]:41226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUTRY-0003Kx-6k for submit@debbugs.gnu.org; Sat, 03 Sep 2022 09:44:16 -0400 Original-Received: from sonic304-21.consmr.mail.ne1.yahoo.com ([66.163.191.147]:43609) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUTRW-0003Kk-Ia for 57468@debbugs.gnu.org; Sat, 03 Sep 2022 09:44:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1662212648; bh=Zsq3y53hFivR1va/MrQn0x25s+aYPJyb42VWR0FrLMk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=PrhOO1tMO9hbbrEa47xqrF8hORVbmw6LJBwH2yr9LpS7aay/WLXKSEGlUmEin115GljKIa81AuKRLNVY/xiV/+WXBgUgfIrhqQu8CliZ2ufeRWf8ncnLam31C4rqhokiYZ/6CIUkrSPDinCQhOcpJ7KFpZ4gJFlwFjB3Uue5lf5m0I60XVHsSbylU5HEib86pz1wW4AVzgYTsOsTcKxKbAuTv7sbcRpXhsLpTgjoh4qDQjH/ZuS/RSMg5PBo80KUFbJR0ow5cL365q2Qlw6S6pvKiPxmNVQBdp0QGNM2N+Vo4YKI0K36AVTabLRHdpFGXdS4+kIb//4VOjdx4xCiSg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1662212648; bh=gGzU7enbdKEBtloNVbLBntN9uKerlLAb21HFM0YcRYN=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=iP2wBxyAYFIgyPnR7wkUYVD56vzFNUNobu4h2v9A7jKj+ja9DBF6250fRbGep4Tm1+lzznivIndc+qltZZTWd+8OVZwfTmQAbxytX8wSmpIZjDqEsilJVG37nAgxntKhHBxHiP+wTys9NyEJGsY6FkymUk68+G1ZrXvs82OGCEXorePesC+OAK4g0v7cuxiVNeD5GtKx44xyWnRp2ryWzxGupX13vJFqKivBNyKunUp5NWdou0xoH7ojjEFTrS1xaHu/Qa8UMjPYLklaDa/rfkRmIDUtenLjbLl3XNCL76E5zreKp7lTDS902oYAbXvymPbDWQkpdCYpA5+Zcb1llQ== X-YMail-OSG: Rl8BtpoVM1luZhzukLKnSGz4X4iIHufxp1V7T98femy7I0paetSreg9pilXjdFb uMlQOK5q3j0afsUmErEwwxsdK9jHh5Hc5el4aUYGKbtUoYwuAsbbu9rNnwHJPQLcFI3fps8Slw4X OmFtNmkQdS1VAc31SwaJaPk9YeB2porzbxb_msnmV_gmdzK7qSllJVWI5qquv9G3lTaN6GvWeayr qlleNtDqQhvwvwo4m6rzvDXdS6Gsob.sahSiX8mdR39.341Ek01sB.rzYZCqVMKPMcnQDBuiZkL2 8KWEFBUf8cfFu1noRdQY4Fmr6HL5ToWG06XjwCmkgSQAbr0sTrFgNN87uQRyogeVE6p0fmMyOcGU qTxNASZsI_WEsKw2oROzsev.WwMWkuVRYOaPOIQviDeTzJBUHislWy1XZjomUMbQUT5fkOPcuBV2 eVCnPdtOWkCMBF.MjEIaM.Qh6oCQhrFtGjNqyj_KwiFYYTSPr2G5udIdxcrIoKwqDdlK1KxFBXsd 1oiFiErnRRTSBOmFSV1c3xyhnXVGJOVhYPyoT1pMQEkxw5CRi6.P8fj8ekmMXmaOrlQDQT1xQslV .JtXVuzOD05DKjbkwI5pmgyFBFGBhrt2hr55HgqMsZacn3bE8M9RKwimC31nYP_FHALucz6Hra.w ISx25Zn9eTQWR._rn1pPHYhs.BXiijM4zENU.o.op2ZCOTxhJn0bWihKiV0cqKJKgmLsYFk4g68h ZcQVefGtd2KVDyFjHHv7zlDqslqmixUdnsRCJomS3fxETSapvS2YY0Ddx_GjdvIEP7w5Yp8qs7iR QUphgVbFzr5PlzMl9INrAiiz2bg9q9QKtvVzMYW7ik X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Sat, 3 Sep 2022 13:44:08 +0000 Original-Received: by hermes--canary-production-sg3-6bb8946c47-n8gf6 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID d35228e1be66a3096cdbc47c778a70da; Sat, 03 Sep 2022 13:44:06 +0000 (UTC) In-Reply-To: <877d2kd46n.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 03 Sep 2022 14:37:36 +0200") X-Mailer: WebService/1.1.20595 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:241408 Archived-At: I figured out how to reproduce the problem. You have to keep the mouse pointer inside the first frame while opening the second Emacs. Then, the focus sticks on the first frame because the X server totally messes up reporting of XI_Leave events if the window manager does not set the focus specifically on the client pointer (which the documentation is adamant that you _can_ omit, so this is yet another X server bug.) I installed a workaround on master. It would be nice if all the people who use Emacs without a window manager tried it out as well to see if it leads to any unpleasant side effects, which it probably will, but I don't know yet know what side effects there will be. Thanks.