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: Sun, 04 Feb 2024 15:56:31 +0200 Message-ID: <867cjk2v00.fsf@gnu.org> References: <08fd4dda-576f-48a7-aa04-5c24135d21ba@gmail.com> 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="6361"; mail-complaints-to="usenet@ciao.gmane.io" Cc: r.stocker@mnet-mail.de, 68914@debbugs.gnu.org To: Nikolay Kudryavtsev Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 04 14:57:38 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 1rWd04-0001SB-QE for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Feb 2024 14:57:36 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rWczR-0005mM-Lz; Sun, 04 Feb 2024 08:56:57 -0500 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 1rWczM-0005kb-7d for bug-gnu-emacs@gnu.org; Sun, 04 Feb 2024 08:56:54 -0500 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 1rWczL-0005mS-Tx for bug-gnu-emacs@gnu.org; Sun, 04 Feb 2024 08:56:51 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rWczX-0000cM-Rm for bug-gnu-emacs@gnu.org; Sun, 04 Feb 2024 08:57:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Feb 2024 13:57:03 +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.17070550172336 (code B ref 68914); Sun, 04 Feb 2024 13:57:03 +0000 Original-Received: (at 68914) by debbugs.gnu.org; 4 Feb 2024 13:56:57 +0000 Original-Received: from localhost ([127.0.0.1]:48466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWczQ-0000bc-Qk for submit@debbugs.gnu.org; Sun, 04 Feb 2024 08:56:57 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWczP-0000bR-T5 for 68914@debbugs.gnu.org; Sun, 04 Feb 2024 08:56:56 -0500 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 1rWcz7-0005k5-7A; Sun, 04 Feb 2024 08:56:37 -0500 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=tomt7q/pxpQixvQdNN9daajBuaSMMRMkhhTgKmD9oJU=; b=OR74oFVrcYSx173CuKs+ pWdukA/TtK6CIlTARW+IC4GbH0sIsKW/MQ8ftItnxaLb92atCfYkXTYxvYk2baANwM9ClwNWr0OtG OtoqRIyGczt1mY3gAdDhwfzTwhhoAStsAj1EU291/46BKiKdUJZVgARIyqHLoQIpGnDCDFGjkWgzr sSkX5A1OI1WqMpOOdicTeKoDfDargDLJp00jPRcdTL8IjpCrOEPVhq2u/T9XgZS5uWJa4pkcYugYM mNKlpW6gdBT0gpLr3MMRduVMdsKSNTynqaO5RoHa74kV5kWVd29Moq1BKjmw8HIT6n+5l95jJ2IP2 hHhU7ilJCbVgiA==; In-Reply-To: <08fd4dda-576f-48a7-aa04-5c24135d21ba@gmail.com> (message from Nikolay Kudryavtsev on Sun, 4 Feb 2024 16:32:48 +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:279413 Archived-At: > From: Nikolay Kudryavtsev > Date: Sun, 4 Feb 2024 16:32:48 +0300 > > But there's something else. I'm not sure if it's the same bug, but > something's been iffy about Emacs keyboard input handling on Windows for > the last few major versions. I don't think it's the same issue. I suggest submitting a separate bug report with the details. > Unfortunately I've yet to find a simple reproduction recipe and hence > why I haven't filled that one the tracker. The problem is as follows. > > I use a certain piece of software that switches between keyboard layouts > by CAPS LOCK. So CAPS LOCK, the feature, is normally mostly inactive on > my machine and requires a certain other combination to activate. Emacs > normally respects that. Except when it's under a load running lisp code. > During that time there are time intervals during which pressing CAPS > LOCK would incorrectly set it on for me. > > One way I can reliably reproduce this is by doing M-x list-packages and > then tapping CAPS LOCK. At some point it would light up. In the bug report I suggest to submit, please describe in more detail how to reproduce this using list-packages. How to "tap CAPS LOCK" and what to look for while doing that. I just tried naïvely to reproduce that and didn't see any problems, probably because I didn't know where to look. > Thus I believe that the input handling intermittently breaks during the > high load(lisp evaluation). > > My testing had shown that the last version that does not suffer from > this is Emacs 25. Emacs 26 introduced the low-level keyboard hook.