From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#1305: All code that currently beeps should use visual bell instead Date: Fri, 30 Apr 2021 08:41:33 +0000 Message-ID: References: <87blabpy54.fsf@gnus.org> <0d7924a2-d09f-e2d0-f0e7-6b5ee3a7a7f2@yandex.ru> <192e82f20f5deb690394@heytings.org> <87zgxmjkr9.fsf@gnus.org> <874kfs3585.fsf@gnus.org> <87v987z53l.fsf@gnus.org> <8fba78a42ee78011f182@heytings.org> <80b9aa43-9924-ae07-df60-87dde8c17378@yandex.ru> <83k0okcqgg.fsf@gnu.org> <83h7jockv2.fsf@gnu.org> <837dkkci6w.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12072"; mail-complaints-to="usenet@ciao.gmane.io" Cc: alan@idiocy.org, 1305@debbugs.gnu.org, mwd@md5i.com, stefan@marxist.se, jasonspiro4@gmail.com, monnier@iro.umontreal.ca, dgutov@yandex.ru, larsi@gnus.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 30 10:42:27 2021 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 1lcOjD-00033K-N6 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Apr 2021 10:42:27 +0200 Original-Received: from localhost ([::1]:36450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcOjC-0004U1-Gc for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Apr 2021 04:42:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcOip-0004SK-Ng for bug-gnu-emacs@gnu.org; Fri, 30 Apr 2021 04:42:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45904) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcOio-0003Ha-2g for bug-gnu-emacs@gnu.org; Fri, 30 Apr 2021 04:42:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcOin-0005ff-Vy for bug-gnu-emacs@gnu.org; Fri, 30 Apr 2021 04:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Apr 2021 08:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 1305 X-GNU-PR-Package: emacs Original-Received: via spool by 1305-submit@debbugs.gnu.org id=B1305.161977209821769 (code B ref 1305); Fri, 30 Apr 2021 08:42:01 +0000 Original-Received: (at 1305) by debbugs.gnu.org; 30 Apr 2021 08:41:38 +0000 Original-Received: from localhost ([127.0.0.1]:57450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcOiQ-0005f3-Dc for submit@debbugs.gnu.org; Fri, 30 Apr 2021 04:41:38 -0400 Original-Received: from heytings.org ([95.142.160.155]:59180) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcOiN-0005et-N5 for 1305@debbugs.gnu.org; Fri, 30 Apr 2021 04:41:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1619772094; bh=V4ojq0ShMf2osY09/JaTMkqVIBkjQCMRH4ZXZo7VYaw=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=mcBpnukV1tSF+COZRiEwR+AjEbTCEn4VlD2uaXs4oM10B5+NXTH9eOk9DVsGExFQN iE0Lon7+NGlZN3CUbI+J9fa4OMEKeYfrR3GD2kPUSeVKR7I3ud1AjemMp2cxXnKkn7 HHap65j6JMZs2QyAEl0hvDejyMe8FV+GyG7/s+fE2K4WCBBy73ZID/c6ndpaw5w7A4 +VQEI9kyVLPoHkB+4FkpGP8bQ/D2KSgQRQETPJvUD8WT4c52FNU7dgD6LabRmTXeAc QbTMcqNAN90KhTQxY+5LXlNUxwsoyNReUqKD/EDH/FUzZJdoafSXI5At6WLl8ZEMe1 UD4CXEuaNWZpQ== In-Reply-To: <837dkkci6w.fsf@gnu.org> 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" Xref: news.gmane.io gmane.emacs.bugs:205233 Archived-At: >> "Flashing a window means changing the appearance of its caption bar as >> if the window were changing from inactive to active status, or vice >> versa. [...] Typically, a window is flashed to inform the user that the >> window requires attention but that it does not currently have the >> keyboard focus." [1] >> >> [1] https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-flashwindow >> >> But even that doesn't describe the effect accurately, the feeling I >> have is closer to "the frame briefly vibrates". As I said, I use >> Windows only rarely, so my feeling is perhaps not right. > > What I see is exactly what the MS documentation describes: the frame's > title bar blinks (a.k.a. "flickers"), which is very hard to notice; and > the corresponding tab on the task bar flashes, which is much more > prominent. IME, this happens in all Windows versions. > What I see on Windows 10 (without any customizations) is that the title bar flickers, the menu bar flickers, and the shadow effect around the frame flickers. All this gives the feeling that the frame "vibrates". And yes, the corresponding tab (on Windows 10 the default is an icon) flashes, its background color changes. Indeed this is more prominent, the purpose of FlashWindow seems to be, as the documentation describes, "to inform the user that the window requires attention but that it does not currently have the keyboard focus", or IOW to inform the user that a window that it isn't the foreground window requires attention.