From: Bob Rogers <rogers@rgrjr.com>
To: Lars Ingebrigtsen <larsi@gnus.org>, Eli Zaretskii <eliz@gnu.org>,
57468@debbugs.gnu.org
Subject: bug#57468: 29.0.50; Text cursor continues to blink when frame loses focus
Date: Wed, 31 Aug 2022 12:31:39 -0700 [thread overview]
Message-ID: <25359.46875.604087.626984@orion.rgrjr.com> (raw)
In-Reply-To: <25359.45100.999353.785164@orion.rgrjr.com>
From: Bob Rogers <rogers@rgrjr.com>
Date: Wed, 31 Aug 2022 12:02:04 -0700
. . .
I've also tried a slightly newer version of master ... on the
previous openSUSE release, and the cursor behaves normally WRT
focus-in/out . . .
Minutes after I sent this email, I saw the bug rear its head in openSUSE
Leap 15.3. To test, I had three instances, two with my initializations,
and one "emacs -Q". Pretty much the only thing I did after sending the
email was to quit the "emacs -Q" and fire up another instance as root
(su and then "emacs &"), but curiously only one of the two instances
(the second one launched) was affected. So I ran the following
augmented code in both the new root and the affected instance to see
what was going on:
(defvar rgr-event-count 0)
(defun rgr-focus-in ()
(interactive)
(message "focus in %d" (cl-incf rgr-event-count)))
(define-key special-event-map [ focus-in ] 'rgr-focus-in)
(defun rgr-focus-out ()
(interactive)
(message "focus out %d" (cl-incf rgr-event-count)))
(define-key special-event-map [ focus-out ] 'rgr-focus-out)
As expected, the affected instance saw no in/out events, but the root
instance saw a single focus-out event when the other window caught the
focus, then a quick in/out/in sequence when the focus came back. (I had
also seen this odd triplet when debugging under openSUSE Leap 15.4, but
at a higher level in the cursor blinking code, so I didn't mention it in
the initial bug report, thinking it might be a separate bug.)
-- Bob
next prev parent reply other threads:[~2022-08-31 19:31 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=25359.46875.604087.626984@orion.rgrjr.com \
--to=rogers@rgrjr.com \
--cc=57468@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).