From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: tooltip can be displayed outside the screen Date: Mon, 12 Dec 2005 11:25:35 +0100 Message-ID: <439D501F.8060609@swipnet.se> References: <4390611E.3040500@swipnet.se> <4391A9CE.6090706@swipnet.se> <87acffdnrg.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1134400527 3315 80.91.229.2 (12 Dec 2005 15:15:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 12 Dec 2005 15:15:27 +0000 (UTC) Cc: eliz@gnu.org, czkmt@remus.dti.ne.jp, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 12 16:15:19 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ElpMk-0007br-6c for ged-emacs-devel@m.gmane.org; Mon, 12 Dec 2005 16:13:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eloon-0003YS-Ro for ged-emacs-devel@m.gmane.org; Mon, 12 Dec 2005 09:38:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Elku2-0001e0-6x for emacs-devel@gnu.org; Mon, 12 Dec 2005 05:27:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Elku0-0001cH-0P for emacs-devel@gnu.org; Mon, 12 Dec 2005 05:27:28 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ElktE-0001Cz-7O for emacs-devel@gnu.org; Mon, 12 Dec 2005 05:26:40 -0500 Original-Received: from [195.54.107.70] (helo=mxfep01.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Elkuu-0007x5-5i; Mon, 12 Dec 2005 05:28:24 -0500 Original-Received: from coolsville.localdomain ([83.226.180.193] [83.226.180.193]) by mxfep01.bredband.com with ESMTP id <20051212102606.OCET676.mxfep01.bredband.com@coolsville.localdomain>; Mon, 12 Dec 2005 11:26:06 +0100 User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en Original-To: Juri Linkov In-Reply-To: <87acffdnrg.fsf@jurta.org> 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:47538 Archived-At: Juri Linkov wrote: >>Yes, sorry about that, my W32 and OSX access is nil right now. >>There should me more code sharing, computing x and y for a tip frame >>should be fairly platform independant. Thanks for pointing out the >>other ports. >> >> > >Making this computation platform independent will become a non-issue >once the code is fixed and tested. But currently it is still not. >What do you think about fixing the meaning of `tooltip-y-offset'? >Currently `tooltip-y-offset' defines the Y offset relative to the >bottom of the tooltip frame. But all similar options in Emacs define >offsets relative to the top (in top-left pairs). Even `tooltip-y-offset' >allows alternative specifications in the frame parameter `top', which >differs from the current behavior of `tooltip-y-offset' which uses >the bottom of the tooltip frame. This can be fixed by using the same >code for computing x and y. > > It must be a bug that the tooltip can be covered by the pointer so I've changed it as you suggested (for W32 and Mac also this time). You must have quite a big font to see this with the default y offset. I also changed the default y offset to 20 from 40. Jan D.