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#73050: 30.0.90; Empty tool tip when hovering over tab-bar separator Date: Sun, 08 Sep 2024 20:49:37 +0300 Message-ID: <86bk0yvxvy.fsf@gnu.org> References: <87r09ygit9.fsf@daniel-mendler.de> <86le03yeyv.fsf@gnu.org> <86jzfmu0lm.fsf@mail.linkov.net> <86jzfmwrnt.fsf@gnu.org> <86plpep099.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38189"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mail@daniel-mendler.de, 73050@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 08 19:50:27 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 1snM3P-0009la-0s for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Sep 2024 19:50:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snM37-00010r-0d; Sun, 08 Sep 2024 13:50:09 -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 1snM2y-0000zU-Bt for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2024 13:50:01 -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 1snM2y-0007Ii-2u for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2024 13:50:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=TLKFhIie52mq7Suk3pTjFdiVmfkzUurpbS+WKWmzPX4=; b=WLC6rU5ePhDchsYTHToz4rnlYPePBAzcuTqGah9YnhXmOoqXrGz5QKekBJ/q5Z9TSO64Mqzgk3YpbjRzVFav50nyQLG5hudWaEvTpt2f4B5J1A0/NixTbQns+09Y7oRM16eFbqQOsO3cS9cfueM643Bw6TQXxClDFIPP7qsutiOhfaafOPAkvKcmRQVZfY54gLUbKbOMt+BdUHUR9i4wyGH0EY7QIPcdGyiYbT/p2TTm2avgPvrgj4EoH/j5aRqR0GL2xtsvzErMD6DzWfd18/sJbZUUMJK5jetb1cZUEDuitDZiyWmsNXIKpTwta1xDtFx3woxEvlBzQnyP4o+8kg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1snM2z-0001p0-Vl for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2024 13:50: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: Sun, 08 Sep 2024 17:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73050 X-GNU-PR-Package: emacs Original-Received: via spool by 73050-submit@debbugs.gnu.org id=B73050.17258177916975 (code B ref 73050); Sun, 08 Sep 2024 17:50:01 +0000 Original-Received: (at 73050) by debbugs.gnu.org; 8 Sep 2024 17:49:51 +0000 Original-Received: from localhost ([127.0.0.1]:60009 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snM2p-0001oP-EV for submit@debbugs.gnu.org; Sun, 08 Sep 2024 13:49:51 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snM2m-0001oA-Ul for 73050@debbugs.gnu.org; Sun, 08 Sep 2024 13:49:49 -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 1snM2d-0007Hw-M9; Sun, 08 Sep 2024 13:49:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=TLKFhIie52mq7Suk3pTjFdiVmfkzUurpbS+WKWmzPX4=; b=g+KNvzt4iJPA 2pDfQJduyCcfXPBchPwY1lwiTDVGs7hqdU3JSoZenEvn4T3x8K1cFhbfXzQlLyMobscODiFZdFL+i CKFvhrb4eFr6dQOSKFqxjzCIMTTfNVxf0kXzlQf5RvOujFc80gvrJywrHN0oEHMlq9GscDVrn3GKk CftSaRjKlfwS8e2CYOB4bvTERbNJfoM/wKI5Py3fGtCSHxnpViCp0uq/n2i9u7CWEhYsfW7EWCp9d aqASmkGYxjF158Bx60DYZ6C0yVTNBnscBaFo9NBUTV+919CKFPWoNii+lmfRygzL2meMEWeYHAGZa HwrUMXchozgc0ccqrY8+WQ==; In-Reply-To: <86plpep099.fsf@mail.linkov.net> (message from Juri Linkov on Sun, 08 Sep 2024 19:40:18 +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:291475 Archived-At: > From: Juri Linkov > Cc: mail@daniel-mendler.de, 73050@debbugs.gnu.org > Date: Sun, 08 Sep 2024 19:40:18 +0300 > > >> Maybe this unasked-for default fallback is not needed after all: > >> > >> diff --git a/src/xdisp.c b/src/xdisp.c > >> index f9a10267bad..18834c6b781 100644 > >> --- a/src/xdisp.c > >> +++ b/src/xdisp.c > >> @@ -15155,8 +15155,6 @@ note_tab_bar_highlight (struct frame *f, int x, int y) > >> help_echo_object = help_echo_window = Qnil; > >> help_echo_pos = -1; > >> help_echo_string = AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_HELP); > >> - if (NILP (help_echo_string)) > >> - help_echo_string = AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_CAPTION); > >> } > >> > >> #endif /* HAVE_WINDOW_SYSTEM */ > > > > Do you remember why was this introduced? > > It was copy-pasted from tool-bar code. But on the tool bar there are no empty space between buttons. On the tab bar, there is. What I don't understand is why those empty spaces have tooltips. Because each tab-bar button has a valid, non-nil tooltip, so the problem is with the tooltips popped up when the mouse is between buttons. Do you understand why this happens?