unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#57468: 29.0.50; Text cursor continues to blink when frame loses focus
@ 2022-08-28 23:38 Bob Rogers
  2022-08-29 15:21 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 23+ messages in thread
From: Bob Rogers @ 2022-08-28 23:38 UTC (permalink / raw)
  To: 57468

   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





^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2022-09-04  0:36 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-28 23:38 bug#57468: 29.0.50; Text cursor continues to blink when frame loses focus Bob Rogers
2022-08-29 15:21 ` Lars Ingebrigtsen
2022-08-29 18:04   ` Bob Rogers
2022-08-30 10:27     ` Lars Ingebrigtsen
2022-08-30 12:02       ` Eli Zaretskii
2022-08-30 23:33         ` Bob Rogers
2022-08-31 10:03           ` Lars Ingebrigtsen
2022-08-31 19:02             ` Bob Rogers
2022-08-31 19:24               ` Eli Zaretskii
2022-08-31 19:31               ` Bob Rogers
2022-09-03  9:44                 ` Lars Ingebrigtsen
2022-09-03 11:23                   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-03 11:52                     ` Lars Ingebrigtsen
2022-09-03 11:56                       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-03 12:08                         ` Lars Ingebrigtsen
2022-09-03 12:26                           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-03 12:37                             ` Lars Ingebrigtsen
2022-09-03 13:03                               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-03 13:44                               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-03 13:47                                 ` Lars Ingebrigtsen
2022-09-03 13:54                                   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-03 17:53                                     ` Bob Rogers
2022-09-04  0:36                                       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).