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 pops up when moving mouse Date: Thu, 17 Mar 2005 21:12:08 +0100 Message-ID: References: <002501c52984$826bc550$0200a8c0@sedrcw11488> <001b01c52a28$f7967ba0$0200a8c0@sedrcw11488> <4238A6B5.2060905@swipnet.se> <00f301c52b14$96345700$0200a8c0@sedrcw11488> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1111090331 16927 80.91.229.2 (17 Mar 2005 20:12:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 17 Mar 2005 20:12:11 +0000 (UTC) Cc: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 17 21:12:10 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DC1LU-0000Gl-2Y for ged-emacs-devel@m.gmane.org; Thu, 17 Mar 2005 21:11:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DC1bp-00082V-Ni for ged-emacs-devel@m.gmane.org; Thu, 17 Mar 2005 15:28:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DC1bZ-00080a-Kt for emacs-devel@gnu.org; Thu, 17 Mar 2005 15:28:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DC1bY-0007zj-Rq for emacs-devel@gnu.org; Thu, 17 Mar 2005 15:28:29 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DC1bY-0007zH-LJ for emacs-devel@gnu.org; Thu, 17 Mar 2005 15:28:28 -0500 Original-Received: from [195.54.107.73] (helo=mxfep02.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DC1Lo-0007AW-1L for emacs-devel@gnu.org; Thu, 17 Mar 2005 15:12:12 -0500 Original-Received: from coolsville.localdomain ([83.226.180.210] [83.226.180.210]) by mxfep02.bredband.com with ESMTP id <20050317201211.GLSD4482.mxfep02.bredband.com@coolsville.localdomain>; Thu, 17 Mar 2005 21:12:11 +0100 In-Reply-To: <00f301c52b14$96345700$0200a8c0@sedrcw11488> Original-To: "Lennart Borgman" X-Mailer: Apple Mail (2.619.2) 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34677 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34677 >>> You can (perhaps) see another version of this problem if you slowly >>> move > the >>> mouse over a link. The tooltip pops up and immediately disappears >>> again. >>> >>> That I am seeing this problem may depend on both that I have a slow >>> pc > and >>> that I am using w32. I believe it is a thread issue. Mouse movements >>> are >>> detected by the UI thread, but I believe that the lisp timer for the > tooltip >>> popup runs in the lisp thread. I do not know if the problem is there >>> on X >>> Windows as well but I would believe it. >>> >> >> It is not. > > Thanks. Then I must say I do not understand how this works. As far as > I see > for this to work reliably tooltip.el:tooltip-start-delayed-tip must > record > the mouse position (because if the mouse has moved when the timer > fires the > tooltip should not be shown). However it does not. > > Could someone please try to explain this to me? Am I missing something > here? I don't know how it is implemented, but the tooltip for a link in X11 is not removed if you move the mouse within the link, it is only removed when you leave the link (i.e. the highlight is removed). So the enter/leave link code must do something. Jan D.