From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bob Rogers Newsgroups: gmane.emacs.bugs Subject: bug#57468: 29.0.50; Text cursor continues to blink when frame loses focus Date: Sun, 28 Aug 2022 16:38:24 -0700 Message-ID: <25355.64624.561352.871099@orion.rgrjr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2439"; mail-complaints-to="usenet@ciao.gmane.io" To: 57468@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 29 01:39:40 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 1oSRsS-0000T9-1K for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Aug 2022 01:39:40 +0200 Original-Received: from localhost ([::1]:35894 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSRsR-0007ml-2J for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 28 Aug 2022 19:39:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37474) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSRrz-0007mc-TL for bug-gnu-emacs@gnu.org; Sun, 28 Aug 2022 19:39:11 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41758) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSRrq-0004dz-PK for bug-gnu-emacs@gnu.org; Sun, 28 Aug 2022 19:39:11 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oSRrq-0001hQ-I2 for bug-gnu-emacs@gnu.org; Sun, 28 Aug 2022 19:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Bob Rogers Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Aug 2022 23:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57468 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16617299146495 (code B ref -1); Sun, 28 Aug 2022 23:39:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Aug 2022 23:38:34 +0000 Original-Received: from localhost ([127.0.0.1]:59740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSRrO-0001gh-7p for submit@debbugs.gnu.org; Sun, 28 Aug 2022 19:38:34 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:43840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSRrL-0001gY-No for submit@debbugs.gnu.org; Sun, 28 Aug 2022 19:38:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36894) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSRrK-0007kk-OE for bug-gnu-emacs@gnu.org; Sun, 28 Aug 2022 19:38:30 -0400 Original-Received: from mail-qt1-x842.google.com ([2607:f8b0:4864:20::842]:35431) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSRrI-0004bt-Oy for bug-gnu-emacs@gnu.org; Sun, 28 Aug 2022 19:38:30 -0400 Original-Received: by mail-qt1-x842.google.com with SMTP id h22so5093806qtu.2 for ; Sun, 28 Aug 2022 16:38:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rgrjr-com.20210112.gappssmtp.com; s=20210112; h=subject:to:date:message-id:content-transfer-encoding:mime-version :from:from:to:cc; bh=n1jKpGpFXuFl2+27u81rUnRcMNxX1LFZhU72ddbpgus=; b=5JpR5ws5y/gQdC2Cuuz8nUMZZKBJUAqGuNY5cGtFrjZvuiQpOau9bx3Zb3LdV6Il3S Lu3MHk6jJFQjyS7R2yf82+IgeoT0gAdEfzNYsgRnSp8kL0FrKjFLZm6QIeBXsKV0nKZZ 9EzmbmSiV8gFoqAI2L2Tc9EZBkcSIZ/6xzcguCvlF2cc+w3Atvx/sm66/c7KCiaOKhUx DTwHVj3FrHyVH1xZD8Gm1fCG+ZY8p5fVXnaVCo+u0DSySnTJwZVZI5jlRCNc315xTIgH Z/SHngcg7MgicLQdxfoUkKAEMWj+DxGx1cU96+kDUAe7ireJjbVX0RAQz3Yxb16CiyIs zdGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=subject:to:date:message-id:content-transfer-encoding:mime-version :from:x-gm-message-state:from:to:cc; bh=n1jKpGpFXuFl2+27u81rUnRcMNxX1LFZhU72ddbpgus=; b=gYuE1qXIS2SLp7P5cTiZAALw5LNDaxa7J1kcdugSmkvG1kTTFUzOmZcEFWszTecU9v 2MkYSllrq5oPGt4Zq0hHCYPXxg/crizIZzlwb0DE9Q9710k3j1TEikvd5AbjGRjmkxHP jHm/JszJo0it5WJRl8QENLwlNqQQsFSdsljyYtMiJAMRybJSOdaM6B7M1fd3cuetMiNV mHM7K3kK/BRbsdGVXosPjwkjIjuYUGV4dBINN3UoKIF6JTP0ZmO9QTVCmMEIfQnRSLvn 65LwL7jLjIXwq4unP/mq7xV07A3BJr6NUvscQnIK7XB/1HwnGa593rXQ9Vg3eA77WRin N4Ig== X-Gm-Message-State: ACgBeo0E7vh0mMBombz3EzeFWz6rAesPnbtb4X/7R8yy/8oAHOkDQptl v5u0w6p4lqgYDNdqTRo7UN4kBI3A+WTgfYp0 X-Google-Smtp-Source: AA6agR5Um+pDmO2ddrny8aWhrNq/B7R54ne/hC7FwxFoeidvGYzhVRPXJ6pGVFtiGatP5bha91jwWw== X-Received: by 2002:ac8:7d01:0:b0:343:5914:6419 with SMTP id g1-20020ac87d01000000b0034359146419mr8174110qtb.538.1661729907072; Sun, 28 Aug 2022 16:38:27 -0700 (PDT) Original-Received: from orion.rgrjr.com ([2600:1700:7c2c:e000::48]) by smtp.gmail.com with ESMTPSA id n19-20020ac85b53000000b003447c4f5aa5sm4381084qtw.24.2022.08.28.16.38.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Aug 2022 16:38:26 -0700 (PDT) X-Mailer: VM 7.19 under Emacs 29.0.50 Received-SPF: none client-ip=2607:f8b0:4864:20::842; envelope-from=rogers@rgrjr.com; helo=mail-qt1-x842.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:240998 Archived-At: I have a number of independent emacs sessions, each with a single GUI frame, some remote via SSH and some as root. In the sessions using emacs built recently from master with blink-cursor-mode enabled, the cursor continues to blink even when the (single) frame loses focus, when it should become a steady hollow box. This also happens in "emacs -Q" (somewhat intermittently, along with failure to start blinking, and some stranger things). The following test code: (let ((count 0)) (while t (message "focus state at %d: %S" (cl-incf count) (frame-focus-state)) (sit-for 2))) shows that the focus state never changes from `t'. The problem appears to be that handle-focus-out is never called, but I don't know the emacs window system interface well enough to follow it any farther. FWIW, the problem doesn't happen in 28.1, or in an emacs built from the master branch on 24-May. I should also mention that one of my sessions started behaving properly again while I was trying to debug this, but I have no idea what, if anything, I did. Also, this is under KDE/Plasma on X11 in a recent openSUSE Leap 15.4 upgrade, so there may be an underlying window system issue. TIA, -- Bob Rogers http://www.rgrjr.com/ ------------------------------------------------------------------------ In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.31, cairo version 1.16.0) of 2022-08-20 built on orion Repository revision: 7e9d744033f07286c21f092f8ea3646a51e37a19 Repository branch: rgr-smtpmail-env-from Windowing system distributor 'The X.Org Foundation', version 11.0.12003000 System Description: openSUSE Leap 15.4 Configured using: 'configure --with-dbus=no --with-gsettings=no --with-gif=ifavailable --with-tiff=no --with-gnutls=yes --with-gconf=no' Configured features: ACL CAIRO FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ JPEG LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TOOLKIT_SCROLL_BARS X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix