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 #103 received at 49997 <at> debbugs.gnu.org (full text, mbox):
> From: Peter Münster <pm <at> a16n.net>
> Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, Eli Zaretskii <eliz <at> gnu.org>,
> 49997 <at> debbugs.gnu.org
> Date: Wed, 18 Aug 2021 11:16:57 +0200
>
> > I can offer the attached trivial patch. Peter, can you try it?
>
> Thanks. Yes, it works as expected.
>
> Now the question is: is this the right thing to do?
>
> According to Eli
> (https://lists.gnu.org/archive/html/bug-gnu-emacs/2021-08/msg01016.html)
> it's not so clear.
>
> But on the other side, focus-out events and mouse movements keep the
> "idleness" too. So I guess, that frame movements could fall in the same
> category...
FWIW, I think this is a slippery slope, let alone
backward-incompatible change. If we want to go anywhere near this
method, I'd suggest to create a variable with a list of events ignored
for the idleness purposes, which users could customize according to
their preferences and usage patterns (and, it turns out, their WM).
That would at least let users some kind of fire escape, whereas
hard-coding arbitrary events that we happen not to like this week
doesn't.
Btw, idleness is not the only feature related to this gray area:
there's also while-no-input, input-pending-p, and throw-on-input, to
mention a few. Should these be in sync?
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.