From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud Newsgroups: gmane.emacs.bugs Subject: bug#58406: 29.0.50; Bars refactoring? Date: Mon, 10 Oct 2022 14:10:07 +0200 Message-ID: <87wn9798ww.fsf@elite.giraud> References: <87a6641648.fsf@elite.giraud> <87bkqkm777.fsf@yahoo.com> <87tu4cyszl.fsf@elite.giraud> <8735bwm57n.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28783"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 58406@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 10 14:11:30 2022 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 1ohrd3-0007HU-Qp for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 10 Oct 2022 14:11:29 +0200 Original-Received: from localhost ([::1]:55268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohrd2-0000JF-G8 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 10 Oct 2022 08:11:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohrcd-0000GZ-1N for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2022 08:11:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47256) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohrcc-0007St-OB for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2022 08:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ohrcc-0002NU-FS for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2022 08:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Manuel Giraud Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Oct 2022 12:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58406 X-GNU-PR-Package: emacs Original-Received: via spool by 58406-submit@debbugs.gnu.org id=B58406.16654038279097 (code B ref 58406); Mon, 10 Oct 2022 12:11:02 +0000 Original-Received: (at 58406) by debbugs.gnu.org; 10 Oct 2022 12:10:27 +0000 Original-Received: from localhost ([127.0.0.1]:46334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohrbo-0002ML-Lf for submit@debbugs.gnu.org; Mon, 10 Oct 2022 08:10:27 -0400 Original-Received: from ledu-giraud.fr ([51.159.28.247]:34792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohrbl-0002MA-Ta for 58406@debbugs.gnu.org; Mon, 10 Oct 2022 08:10:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=+ac8fBFCYids44Bx dyC4GnFXZOVNnJQaoIe+GiCvU7o=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=Og3E7q7bqKo9FeuOvErXAU2VKQZ/6fctI6ncqU O9MT2vMjgx2UbYgf9KXpGfQ7GnuRTB+yLawiNM9hTWItByi7CeVEKxHL5jTSHhcKiscY5Q W2Gk03mllqlWZ9n8mnBUzY3nP1Yi8zdC0uaUJj5B4/7mPdlu8iQP7S7KLOpiTKARjLdlx8 RaIiPRao27SynCDQBhuq5x4DZwrPnbA2qSIFn5IBYo60F3Lj0/y3y8Dbv4NhkOfh2CALfq RVxdTZp+5cyeu68vH5rZVXIBSNAGywAt+xfQLBfg0wk7TIHFxp741pk5GA7ul7olJ5oqnZ P4xqK01TW1GyZX6doqA7g8Dg== Original-Received: from elite.giraud ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 58d8a0d8 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 10 Oct 2022 14:10:08 +0200 (CEST) In-Reply-To: <8735bwm57n.fsf@yahoo.com> (Po Lu's message of "Mon, 10 Oct 2022 16:51:40 +0800") 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:245014 Archived-At: Po Lu writes: > Manuel Giraud writes: > >> mouse over highlight: like the relief on tool bar button or, even >> better, with highlight face like on the modeline. > > I'm afraid I don't see the utility of that in a menu bar, since it > doesn't consist of "buttons" in the sense that the tool bar or tab bar > do, and no program does that anymore. I find it useful to have some visual feed back that some text is clickable (the mode-line is a good example of this IMO). What do you mean by "no program does that anymore"? Do you that this is done by the widget library? >> I understand that it is too close to Emacs 29. Do you think the menu >> bar could be made to mimic some feature of the tool bar (like tab bar >> did)? Or do you think it would add to the cargo cult? > > I'd rather not touch any of the *bar code before Emacs 29 is cut. Most > people do not use the bars, leading to many latent bugs. Examples: > mouse face not being cleared when tooltips are enabled and the mouse > moves outside the frame, last_tool_bar_item not being cleared in the > same case, and last_tab_bar_item not being cleared, leading to mouse > highlight not working after the mouse is released outside a frame. > > These bugs are particularly nasty because they only happen in rare > situations, but can completely ruin the visual appearance of a frame > when they do. Ok, maybe I could look into them as an exercise on xdisp.c -- Manuel Giraud