From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christian Schlauer Newsgroups: gmane.emacs.devel Subject: Re: Better default values for tooltip padding and `tooltip-hide-delay'? Date: Wed, 05 Oct 2005 19:30:16 +0200 Message-ID: References: <877jcyowy9.fsf@wigwam.deepwood.net> <87d5moj82m.fsf-monnier+emacs@gnu.org> Reply-To: cs-usenet@arcor.de NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1128533850 31504 80.91.229.2 (5 Oct 2005 17:37:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Oct 2005 17:37:30 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 05 19:37:22 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ENDAI-0001YI-LZ for ged-emacs-devel@m.gmane.org; Wed, 05 Oct 2005 19:34:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ENDAH-000134-S4 for ged-emacs-devel@m.gmane.org; Wed, 05 Oct 2005 13:34:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ENDA4-00011a-FK for emacs-devel@gnu.org; Wed, 05 Oct 2005 13:34:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ENDA3-00010u-IY for emacs-devel@gnu.org; Wed, 05 Oct 2005 13:34:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ENDA3-00010r-Fb for emacs-devel@gnu.org; Wed, 05 Oct 2005 13:34:35 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1ENDA3-00078g-Bj for emacs-devel@gnu.org; Wed, 05 Oct 2005 13:34:35 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1END7I-0000Rh-NQ for emacs-devel@gnu.org; Wed, 05 Oct 2005 19:31:44 +0200 Original-Received: from chrsc2.ikp.liu.se ([130.236.36.122]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Oct 2005 19:31:44 +0200 Original-Received: from cs-usenet by chrsc2.ikp.liu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Oct 2005 19:31:44 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 48 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: chrsc2.ikp.liu.se User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:43581 Archived-At: Jason Rumney writes: > Christian Schlauer writes: > >> Jason Rumney writes: >> >>> We should find out exactly what GNOME uses (it may be a fraction of >>> the font height for example) and try to be consistent with that. >> >> Will you pursue that? I'd really like to see this changed ... > > gtk+/gtk/gtktooltips.c has a hardcoded "border width" of 4. > > It is difficult to tell whether gtk's "border-width" is equivalent to > Emacs' internal-border-width, or internal-border-width + border-width, > since I can't put both tooltips next to each other for a careful > comparison. I looked at GTK 2.6.4 (GNOME 2.10) tooltips now as well. All I can tell is that Emacs' tooltips are larger at the moment (the font is larger, too). But I wonder if one should really stick to the GNOME padding: I looked for tooltips in two GNOME applications, gedit and nautilus. I actually expected some tooltips in nautilus, for example when the files are viewed in `icon view' and I hover over a file icon, or when the column is too small in `list view' in order to show the full file name. No tooltip displayed the full file name (in list view) or the size of the file (in icon view). So what I think is that GNOME applications use tooltips in the menu and toolbar area only, while Emacs excessively uses tooltips even in the buffer. The latter makes me think that Emacs tooltips should have little padding in order to not hide too much in the buffer, _ignoring_ how GNOME-tooltips look as they aren't used excessively in the main `working window' of GNOME applications. When you change `internal-border-width' to 2, what do you think of it? Lennart wrote that this is much better, too. (You use w32 too -- have you looked at the tooltips in Mozilla Firefox? They are small with a small font size and little padding on Windows, and they stay open for about 4 seconds -- try it on , hover over `SiteMap'! That's a perfect tooltip, IMO. On Ubuntu, Firefox is integrated in GNOME though and uses GNOME-sized tooltips.) -- Christian Schlauer