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: Fri, 13 Sep 2024 17:45:12 +0300 Message-ID: <86cyl7k3yf.fsf@gnu.org> References: 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="16777"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68914@debbugs.gnu.org To: Raffael Stocker Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 13 16:46:19 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 1sp7Yv-00045P-AD for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 Sep 2024 16:46:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sp7Yd-0000Dq-On; Fri, 13 Sep 2024 10:45:59 -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 1sp7Ya-0000DG-0m for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2024 10:45:56 -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 1sp7YW-0004UK-N6 for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2024 10:45:53 -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=FhKFtkTKlMojTOK+b01C+uYLTfaLNQv9kViVd1LVbOg=; b=Dfezv5fNAWK/N2aA8i6ftgVDwCQJAq2onoO76FzxkSlyIwzXXcDXpJbGe74j0fAGSffg+GMrkbCO4BBDt45a5tNZLw7EZ/fNkDcBzPTefc99UwUq7jMUxD296KQcBfz4dSbMGles9KTr4cnJtRDeb1Tnw1nemP31yRhI6XXEsEQ2vNUWMkisvG5dE7Lbhzq/oBVPxGcRctmkSt8uO3t0ZnUnQt5PlrJmnsGOogukXgWXI/hBGai/Ttg+ztpvafnnWVGxIyoPjRQMbHPu99hp1mZtxe4RLViVbrv6/io0glJPQGbIlUsRuqOmr6FRvWBii1FY1WW5aB0wU+T2vcFZiA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sp7Yf-0003If-KZ for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2024 10:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Sep 2024 14:46:01 +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.172623873612645 (code B ref 68914); Fri, 13 Sep 2024 14:46:01 +0000 Original-Received: (at 68914) by debbugs.gnu.org; 13 Sep 2024 14:45:36 +0000 Original-Received: from localhost ([127.0.0.1]:43967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sp7YG-0003Hs-Dv for submit@debbugs.gnu.org; Fri, 13 Sep 2024 10:45:36 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sp7YE-0003HZ-8l for 68914@debbugs.gnu.org; Fri, 13 Sep 2024 10:45:35 -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 1sp7Xx-0004Sn-Gy; Fri, 13 Sep 2024 10:45:18 -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=FhKFtkTKlMojTOK+b01C+uYLTfaLNQv9kViVd1LVbOg=; b=cawwknoj2TV6bRhXoSIy J5zVFQgG5D/QTcyNroW7NQATiwqKyhxa2wgnwcZSMS0lTwZEGLE8Y1aluoyWYabQ/DH6kQP9p+wF9 lOXKtcmI0LfUfI/7kqezX5AcPJnwgtnKKM42Z0dHwe5tVujd6M5YppPUPf2/56y+77mVgJwA6AJt0 4xGZ1B//PrrW4oaxPK7Buof2HwIFvoHzmOW0SjoM3oN5JmeZLZnywVwuFQdczAfZgGPCmaLGUzY1f Bh26M6Tf0vFgoCWTnOmQ6oikNbI9rYcFZ8QIMVLDl3q2/ntoyMZusvYI5tsZpWSUipNJ8ZaamZmeX dbbOB8qgiRt0cA==; In-Reply-To: (message from Raffael Stocker on Fri, 13 Sep 2024 15:26:21 +0200) 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:291656 Archived-At: > 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.