GNU bug report logs -
#49997
27.2; idle-time reset when switching desktop-page
Previous Next
Reported by: Peter Münster <pm <at> a16n.net>
Date: Wed, 11 Aug 2021 08:44:01 UTC
Severity: normal
Tags: confirmed, moreinfo
Found in version 27.2
Fixed in version 29.1
Done: martin rudalics <rudalics <at> gmx.at>
Bug is archived. No further changes may be made.
Full log
Message #49 received at 49997 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> And if it does present a problem, cannot the OP use
>> after-focus-change-function to restart the idleness?
>
> Or maybe configure the WM not to send focus-out events for a page
> switch?
Well, it does definitely lose focus when we switch to a different
desktop, so I think the events themselves are correct (more or less).
I guess the concept of "Emacs is idle" isn't well-defined. I think a
natural interpretation of the it is "I haven't done anything in Emacs".
And giving focus to Emacs isn't "in Emacs", in a way. So we could bar
FOCUS_IN/FOCUS_OUT from changing idleness in general.
On the other hand, getting/losing focus is a thing that happens to
Emacs, so it's not really "idle".
I dunno. Perhaps we should just leave it as is.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 225 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.