From unknown Wed Jun 18 23:06:36 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#51246 <51246@debbugs.gnu.org> To: bug#51246 <51246@debbugs.gnu.org> Subject: Status: 29.0.50; New tab button on tab bar doesn't respond to button up events Reply-To: bug#51246 <51246@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:06:36 +0000 retitle 51246 29.0.50; New tab button on tab bar doesn't respond to button = up events reassign 51246 emacs submitter 51246 Po Lu severity 51246 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 16 23:11:57 2021 Received: (at submit) by debbugs.gnu.org; 17 Oct 2021 03:11:57 +0000 Received: from localhost ([127.0.0.1]:43333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mbwab-0004Zf-9E for submit@debbugs.gnu.org; Sat, 16 Oct 2021 23:11:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:39344) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mbwaa-0004ZX-9F for submit@debbugs.gnu.org; Sat, 16 Oct 2021 23:11:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mbwaZ-00046K-WB for bug-gnu-emacs@gnu.org; Sat, 16 Oct 2021 23:11:56 -0400 Received: from sonic317-33.consmr.mail.ne1.yahoo.com ([66.163.184.44]:44169) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mbwaX-0004x1-F7 for bug-gnu-emacs@gnu.org; Sat, 16 Oct 2021 23:11:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1634440310; bh=dxZSIvQTdBi6h3HGuUNnUCJ8n7A0wLWCxSXuzzkd6kw=; h=From:To:Subject:Date:References:From:Subject:Reply-To; b=TPMvG4eYOeeCt1JYvxDi1e8LatLjIikrSGmet6+GvSpDlnP2ZWEK5HhDsbnAGEcMY8bKl25vD2BrIcv7jJVrZomK+5P3lDS0oYNmac1gKGZ7q4JRhNv7l1W+SljTdJewBGdZIInT28PoYjU0bzEkzpQfhL967mHUll1ea7CoPVCnuvPfF7989C7eodQOrOcb1uCdR9ZXnO863EdUUuNLgzcnUYWkXwqGfRoYlADercLMqOsSvOBQ08Kucl3IcKthOlkM77YVrCs4AXLOfFEh6ZtJr9y7+HICtb/12hGOq+t0BgHtvgD2vKPjd5xtgzccwsAzAkcVuEuZ84c08MqgeA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1634440310; bh=Rc2aeZqfLPkJHZX7iJfKYlsn30Jb7mpA0O3caXUyHoW=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=PimSriPHn0jsCg3nnyFDZj9YH4xOo6tWLRKkN9FANAOaiE2LHFcSNh38iCgh14SVg2bnoqGQ8JhhSmmQMh6t/aYuERoAqzdpkHrLwJ37X2fcgt4AupYUXDAkSGXpYVJ2dmzG5vzYTmmfGRlJaFb4pIVzzJ9hbQYmPQFc+XfpoX5aMu5kNDkuSGUBaPSYPnXg3FHX88nRNc9NwN1mrTPoKPVGm9IdUuaEIZdhIYNdmDTVGXXuYCgiVky8uFfYThXPD2OpD6aM7QA97G6HF++aMlU2oazpAFRMj25+j18Nzz701dSH5zVWt7tKuVID7lmKupkRuzHGAp+7QhaD5VKzsg== X-YMail-OSG: pOqyx.8VM1ktna5pq7brYG3ODCP6bL6NjbvAI6uFh81my0.quJp1nqVvWV.oaTG NThhgIV1SbwY1SyT6bnJ4Xw9WVYSC2eA_Wz35cNqYrQcsvg0Nvgq.fhg2zkvlKRH4Xhtg82jVKvK 6xnKA7gqrO3.SntwKLwz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received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Sun, 17 Oct 2021 03:11:50 +0000 Received: by kubenode514.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID cbb1f93cfb1a10494d6ec5159b0accf9; Sun, 17 Oct 2021 03:11:43 +0000 (UTC) From: Po Lu To: bug-gnu-emacs@gnu.org Subject: 29.0.50; New tab button on tab bar doesn't respond to button up events Date: Sun, 17 Oct 2021 11:11:39 +0800 Message-ID: <87pms4cplg.fsf@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain References: <87pms4cplg.fsf.ref@yahoo.com> X-Mailer: WebService/1.1.19116 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 3749 Received-SPF: pass client-ip=66.163.184.44; envelope-from=luangruo@yahoo.com; helo=sonic317-33.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.6 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.6 (-) In Emacs 27, and Emacs 28 up until a certain point, clicking the "+" button in the tab bar would respond in two steps; When the mouse button was pressed, the button would display in a depressed appearance, and only when the button was released would a new tab actually be created. This is the typical behaviour of X-Windows applications that have tab bars, and provides visual feedback to the user that a new tab is about to created, giving the user an opportunity to cancel the action if the click was inadvertent. In master and emacs-28, clicking "new tab" results in a new tab being created immediately when the mouse button is pressed, without waiting for it to be released. This behaviour is very annoying! In GNU Emacs 29.0.50 (build 191, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.17.4) of 2021-10-17 built on limity Repository revision: 3a283bf727f5adb494689315c9e89483525402e3 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101002 System Description: Fedora 34 (Workstation Edition) Configured using: 'configure' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t tab-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search time-date seq gv subr-x byte-opt bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 53013 10603) (symbols 48 6630 1) (strings 32 20210 1924) (string-bytes 1 667135) (vectors 16 13769) (vector-slots 8 185208 14800) (floats 8 21 39) (intervals 56 214 4) (buffers 992 10)) From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 17 02:17:46 2021 Received: (at 51246) by debbugs.gnu.org; 17 Oct 2021 06:17:46 +0000 Received: from localhost ([127.0.0.1]:43474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mbzUQ-0000w9-Dn for submit@debbugs.gnu.org; Sun, 17 Oct 2021 02:17:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mbzUO-0000vv-DB for 51246@debbugs.gnu.org; Sun, 17 Oct 2021 02:17:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45794) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mbzUJ-0001n6-5T; Sun, 17 Oct 2021 02:17:39 -0400 Received: from [87.69.77.57] (port=1744 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mbzUI-0003Sw-MD; Sun, 17 Oct 2021 02:17:39 -0400 Date: Sun, 17 Oct 2021 09:17:42 +0300 Message-Id: <837decgoop.fsf@gnu.org> From: Eli Zaretskii To: Po Lu In-Reply-To: <87pms4cplg.fsf@yahoo.com> (bug-gnu-emacs@gnu.org) Subject: Re: bug#51246: 29.0.50; New tab button on tab bar doesn't respond to button up events References: <87pms4cplg.fsf.ref@yahoo.com> <87pms4cplg.fsf@yahoo.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51246 Cc: 51246@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sun, 17 Oct 2021 11:11:39 +0800 > From: Po Lu via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > In master and emacs-28, clicking "new tab" results in a new tab being > created immediately when the mouse button is pressed, without waiting > for it to be released. This behaviour is very annoying! Please explain why it's annoying, and why you cannot solve your annoyance by rebinding the relevant commands to the mouse gestures which you find less annoying. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 17 02:53:24 2021 Received: (at 51246) by debbugs.gnu.org; 17 Oct 2021 06:53:24 +0000 Received: from localhost ([127.0.0.1]:43512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mc02u-0001qb-K2 for submit@debbugs.gnu.org; Sun, 17 Oct 2021 02:53:24 -0400 Received: from sonic303-20.consmr.mail.ne1.yahoo.com ([66.163.188.146]:39012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mc02s-0001qJ-Hy for 51246@debbugs.gnu.org; Sun, 17 Oct 2021 02:53:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1634453596; bh=Ii3RlSmGSQ8yWBvfxQdhhKRvjtFGHJ6QQP3sfhSK7GU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=qpzRHvH168jEAxkJAtG0Ttpf/wNbChEBvT+ObXras8b3l9C8nKLpf48n5m+5zz4AC1YPkoUFXICCvR2jJGsj2DNXZZwryRLcnUBJES/KbQqWTdu0y6SReI76K9flufd95g60yOua+FvNB0wY0Cu2XPI4D08c8xxdKku68/U2U8uaHno0EamLYF7D9Pp/3cw0Qjqshd8gnbjhLL2I/Nv2wu477xwJmYRj+5tknShrYYDebDXZsg3VZ7W8eTg8QYtcGXJsQPwQTDCtgcEZ5jfdGsUeP/8ZnFe2XDqufV+0xMNh+TxgOb3nJZw7roYfxChlUULgLWNOqayHvGAhj5n9fA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1634453596; bh=6UjwS6V/HjnhXufMwwaTdfa86k3RO87fsInmHHFIMKU=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=IRz1k8KU3xnpu1c0kherBMQjQhCtdRVfPUcUhcsko9sMCUjTN6oAlfezVV4DNb1TnMRwwY5KQLM9pep6yAErBayKLfKa6NQQ0CLPC61NKwkROLQ+nv9W2uNSKcxtvshJb23oz3tTegCXgXb8YtYPcLmJZpY+xXPf/ZzRJoJcu0gqcFcXevzT3rCC58LLLkx1DPIePA1rxkW2Er9XiWR3OfeZT0BDoyEOLD8Y5Z1xxQ/yCLQZ3pHaJvRqTV/pyEINt+4rHcfaH6yVPBO6Z7NqbiiJEF/AgyMt5qifuXD72DBgT75FjGHvJO9Qbp9QBmAQFlkdqSgCc1qIPJfNJd8Mww== X-YMail-OSG: 3Of0F6YVM1nEsf6NgyoFcafryg5dxFzPn4sFDtb8XV5tZgVlbGxrfs1td0aovJq w.kJ0fpPYzOM6JSHxdXG.Z4iZxKjjQfFw875_f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ZZWulbYUDUapIxlEtctaNI7au.awGy1HQiOHxJEo0IyC995_ N8jnBlMSzBzzjeZB.rsukN5vBKdVVzllyoJHmwYHVsmNuVcYawPkM_AmXFg-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Sun, 17 Oct 2021 06:53:16 +0000 Received: by kubenode510.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID aca1b6162e367b57361592b78ebaadf3; Sun, 17 Oct 2021 06:53:10 +0000 (UTC) From: Po Lu To: Eli Zaretskii Subject: Re: bug#51246: 29.0.50; New tab button on tab bar doesn't respond to button up events References: <87pms4cplg.fsf.ref@yahoo.com> <87pms4cplg.fsf@yahoo.com> <837decgoop.fsf@gnu.org> Date: Sun, 17 Oct 2021 14:53:05 +0800 In-Reply-To: <837decgoop.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 17 Oct 2021 09:17:42 +0300") Message-ID: <875ytwcfce.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.19116 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1949 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 51246 Cc: 51246@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> In master and emacs-28, clicking "new tab" results in a new tab being >> created immediately when the mouse button is pressed, without waiting >> for it to be released. This behaviour is very annoying! > Please explain why it's annoying, and why you cannot solve your > annoyance by rebinding the relevant commands to the mouse gestures > which you find less annoying. It's annoying because there is absolutely no feedback between when the mouse clicks down on the button, and when the new tab is created, much less an opportunity for the user to cancel the action. For instance, it is easy to accidentally click the "new tab" button when selecting "Open File" in the toolbar on GTK+ builds. When this happens in 27.2, the user can simply move the mouse outside the button before releasing the mouse button, which cancels the action. (This is also consistent with every other X-Windows application.) However, in Emacs 28, the user will have to find the new tab that was inadvertently created and close it, which takes longer and is surprising, because it is inconsistent with all other X-Windows applications. Rebinding the "new tab" command to tab-bar mouse-1 (instead of down-mouse-1, which is what it seems to be right now) would certainly be possible, but I don't understand how the tab bar code works: when I run describe-key and click the "+" button, I'm told tab-bar mouse-1 is bound to `tab-bar-close-tab-from-button', and tab-bar down-mouse-1 is bound to `tab-bar-mouse-select-tab', neither of which make much sense, because the "+" button creates a new tab, not select or close an existing one. Could someone explain exactly which command runs when the "+" button is clicked, and how to bind it to mouse-1, instead of down-mouse-1? Either way, the old behaviour should be the default; it would be nice to have it restored, and I'd be happy to help with restoring it if possible. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 17 13:31:12 2021 Received: (at 51246) by debbugs.gnu.org; 17 Oct 2021 17:31:12 +0000 Received: from localhost ([127.0.0.1]:45204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcA08-0005EZ-3e for submit@debbugs.gnu.org; Sun, 17 Oct 2021 13:31:12 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:45663) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcA04-0005Du-D1; Sun, 17 Oct 2021 13:31:10 -0400 Received: (Authenticated sender: juri@linkov.net) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 0D21D240008; Sun, 17 Oct 2021 17:31:00 +0000 (UTC) From: Juri Linkov To: Eli Zaretskii Subject: Re: bug#51246: 29.0.50; New tab button on tab bar doesn't respond to button up events Organization: LINKOV.NET References: <87pms4cplg.fsf.ref@yahoo.com> <87pms4cplg.fsf@yahoo.com> <837decgoop.fsf@gnu.org> <875ytwcfce.fsf@yahoo.com> Date: Sun, 17 Oct 2021 20:27:51 +0300 In-Reply-To: <875ytwcfce.fsf@yahoo.com> (Po Lu via's message of "Sun, 17 Oct 2021 14:53:05 +0800") Message-ID: <87y26rwoh4.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 51246 Cc: Po Lu , 51246@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) close 51246 28.0.60 thanks > It's annoying because there is absolutely no feedback between when the > mouse clicks down on the button, and when the new tab is created, much > less an opportunity for the user to cancel the action. I agree, and web browsers also implement this as you described. It was just an oversight, not a design decision, so I fixed this now. Thanks for noticing. > Rebinding the "new tab" command to tab-bar mouse-1 (instead of > down-mouse-1, which is what it seems to be right now) would certainly be > possible, but I don't understand how the tab bar code works: when I run > describe-key and click the "+" button, I'm told tab-bar mouse-1 is bound > to `tab-bar-close-tab-from-button', and tab-bar down-mouse-1 is bound to > `tab-bar-mouse-select-tab', neither of which make much sense, because > the "+" button creates a new tab, not select or close an existing one. You are right, these names make no sense, so I renamed them now. > Could someone explain exactly which command runs when the "+" button is > clicked, and how to bind it to mouse-1, instead of down-mouse-1? There bindings are applied to the whole tab bar, not to each tab. This is in contrast to how the tab line is implemented where it's possible to bind different keys to each tab. From unknown Wed Jun 18 23:06:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 15 Nov 2021 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator