From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#68914: Windows makes Emacs choke on and swallow the WIN keys Date: Sat, 21 Sep 2024 12:48:34 +0300 Message-ID: <86frpt49sd.fsf@gnu.org> References: <86cyl7k3yf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25394"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68914@debbugs.gnu.org To: r.stocker@mnet-mail.de Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 21 11:49:53 2024 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 1srwkT-0006T0-8A for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Sep 2024 11:49:53 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srwkK-00031q-VL; Sat, 21 Sep 2024 05:49:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srwkJ-000310-2n for bug-gnu-emacs@gnu.org; Sat, 21 Sep 2024 05:49:43 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1srwkI-0001Mt-BZ for bug-gnu-emacs@gnu.org; Sat, 21 Sep 2024 05:49:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=LDWe38ThIOpZcC9zzyG8UP7i/zOiUkE6Ksf/z+Yc39E=; b=UtomAQyYfkc0G/IvCY8HEKKOH+nOpWFx6sgC9KZfVHLrOL3MCmp3qGbzDXx/nVBHxhDB8hf/VWo+TS/u8l3aYKjEN3vJHHy5grFZk3YyCyQAvLbLOOuXatnwzh6g84zCtg0SvhuNomX747ijUHvG9YcNwHe+6b6C5jbZ+sIIK1uqGrf5w+lIzFzt0ZfoFBHel//jxFtZedNia8zxNBucq3Wok6jwKyKjrXaa51BJvpDXnfjdFsrB/E+9zSKiN573o9tDmBQXO/xJjqfHyCk4GkbsRKIq3DCC5FggaDZEdZNDDHL1+E+ofXTkZYqMMhnWpWhHK537vsD33kcOSouumg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1srwkc-0003sI-8F for bug-gnu-emacs@gnu.org; Sat, 21 Sep 2024 05:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Sep 2024 09:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68914 X-GNU-PR-Package: emacs Original-Received: via spool by 68914-submit@debbugs.gnu.org id=B68914.172691214714809 (code B ref 68914); Sat, 21 Sep 2024 09:50:02 +0000 Original-Received: (at 68914) by debbugs.gnu.org; 21 Sep 2024 09:49:07 +0000 Original-Received: from localhost ([127.0.0.1]:37215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srwjj-0003qj-08 for submit@debbugs.gnu.org; Sat, 21 Sep 2024 05:49:07 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srwjg-0003qB-Fp; Sat, 21 Sep 2024 05:49:05 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srwjG-0001LQ-Dh; Sat, 21 Sep 2024 05:48:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=LDWe38ThIOpZcC9zzyG8UP7i/zOiUkE6Ksf/z+Yc39E=; b=gbT2162RfXu08tqhriBw 2v6+SbHj8U2KxAt4rmzw0JdDRqO8tQeU99SVDkmBQvYYefYBL8rnesC9EMVKV6adzcXcQfoWtTg3p RHHf1YmoaE13dNztFmkGtqLPmaiQIwLMXwOPRY6c2r23AeZiVGs1KvwbVeVIvEQAcAsrevR0SW2eQ EKuEKf9AyAoQkycgLejdCGvp8bqy2z0c6rAvazTZxS12IDN32oNy/exs52vlXERpy17HPpXqUC8jW tyAILucH0dO3uTCF4Y/q+7ZkMltdXiyVzM6uHppipnI2dyY2X8DmXZnas2vJlpfQr/5+zNjqAATOq lbhwxNUTddXJWA==; In-Reply-To: <86cyl7k3yf.fsf@gnu.org> (message from Eli Zaretskii on Fri, 13 Sep 2024 17:45:12 +0300) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:292165 Archived-At: close 68914 30.1 thanks > Cc: 68914@debbugs.gnu.org > Date: Fri, 13 Sep 2024 17:45:12 +0300 > From: Eli Zaretskii > > > From: Raffael Stocker > > Cc: Eli Zaretskii > > Date: Fri, 13 Sep 2024 15:26:21 +0200 > > > > Raffael Stocker writes: > > > > > this is a weird one (and long, apologies). On MS Windows, it sometimes > > > happens that a windows key gets stuck, that is, it remains (logically) > > > pressed down, and this behaviour is correlated with Emacs use. A > > > colleague and I are seeing this on two installations with Emacs 28.2 and > > > 29.2 on Windows 10 and 11. Unfortunately, this is somewhat random and > > > we have not found a way to trigger it directly. > > > [...] > > > We have had good results with increasing the ‘LowLevelHooksTimeout’, but > > > we had to set it to the maximum value of 1000 ms. I am not sure about > > > the default value; the internet claims it to be 200 ms. > > > > I believe I can now provide an update here. The last few (2...3) months > > we have been running Emacs 30 on two machines, with > > ‘LowLevelHooksTimeout’ set to 10 (to more easily trigger this bug). In > > this time, we have not seen the bug at all. > > > > To confirm that this is connected to the Emacs version we were running, > > my colleague has now used Emacs 29.2 for a couple of days. And lo and > > behold, on the second day, the bug re-surfaced: she pressed the windows > > key in Emacs, then changed to some other program and there it was. > > > > So, it seems we can be reasonably confident that something in Emacs 30 > > fixed this bug. Perhaps it was the WTS_SESSION fix after all (although > > then I don't understand how), or it was something else. > > > > I don't know whether this qualifies as good enough to close this issue, > > but I suspect we might not be seeing this bug again. > > Thanks, I will soon close this bug if no further comments are posted. Closing.