From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: tooltip can be displayed outside the screen Date: Fri, 16 Dec 2005 11:03:59 +0200 Organization: JURTA Message-ID: <873bkte58s.fsf@jurta.org> References: <4390611E.3040500@swipnet.se> <4391A9CE.6090706@swipnet.se> <87acffdnrg.fsf@jurta.org> <439D501F.8060609@swipnet.se> <87pso1bdrb.fsf@jurta.org> <43A08825.8070704@swipnet.se> <87k6e6myqw.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1134754709 28829 80.91.229.2 (16 Dec 2005 17:38:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Dec 2005 17:38:29 +0000 (UTC) Cc: eliz@gnu.org, jan.h.d@swipnet.se, czkmt@remus.dti.ne.jp, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 16 18:38:23 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EnJVI-0007Iq-9w for ged-emacs-devel@m.gmane.org; Fri, 16 Dec 2005 18:36:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EnJVz-00034V-A2 for ged-emacs-devel@m.gmane.org; Fri, 16 Dec 2005 12:37:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EnG2A-00006z-6n for emacs-devel@gnu.org; Fri, 16 Dec 2005 08:54:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EnFPH-0007kl-4w for emacs-devel@gnu.org; Fri, 16 Dec 2005 08:13:55 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EnD29-0000ks-DQ for emacs-devel@gnu.org; Fri, 16 Dec 2005 05:41:54 -0500 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EnD4S-0005qg-GG; Fri, 16 Dec 2005 05:44:16 -0500 Original-Received: from mail.neti.ee (80-235-33-94-dsl.mus.estpak.ee [80.235.33.94]) by Relayhost1.neti.ee (Postfix) with ESMTP id BB63B1E76; Fri, 16 Dec 2005 12:41:12 +0200 (EET) Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Thu, 15 Dec 2005 20:52:17 -0500") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee 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:47865 Archived-At: > Your changes are good. However, this text has another problem: > > ! The offset is the distance between the X position of the mouse and > ! the left border of the tooltip frame. It must be chosen so that the > ! tooltip window doesn't contain the mouse when it pops up. > > If you use a bad value, and the tooltip window does contain the > mouse, what happens? Since I am not the author of the last sentence, I don't know what it was intended to warn against. I tried to use a bad value on X, and the resulted effect is the mouse pointer covering part of the tooltip window. Also moving the mouse causes flickering of the tooltip window. I have no idea how to describe this behavior in the doc string. BTW, on non-toolkit X builds using tooltips on menu items completely garbles them. Most likely this is caused by garbage collection, and displaying tooltips makes GC to occur sooner than when tooltips are disabled. -- Juri Linkov http://www.jurta.org/emacs/