From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman" Newsgroups: gmane.emacs.devel Subject: Re: Tooltip pops up when moving mouse Date: Wed, 16 Mar 2005 14:06:21 +0100 Message-ID: <001b01c52a28$f7967ba0$0200a8c0@sedrcw11488> References: <002501c52984$826bc550$0200a8c0@sedrcw11488> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1110979692 30504 80.91.229.2 (16 Mar 2005 13:28:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 16 Mar 2005 13:28:12 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 16 14:28:12 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DBYXJ-00071Z-SU for ged-emacs-devel@m.gmane.org; Wed, 16 Mar 2005 14:26:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DBYnL-0006OT-Qq for ged-emacs-devel@m.gmane.org; Wed, 16 Mar 2005 08:42:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DBYWV-00016u-KK for emacs-devel@gnu.org; Wed, 16 Mar 2005 08:25:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DBYWN-000155-A3 for emacs-devel@gnu.org; Wed, 16 Mar 2005 08:25:15 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DBYWM-00012j-5D for emacs-devel@gnu.org; Wed, 16 Mar 2005 08:25:10 -0500 Original-Received: from [81.228.10.108] (helo=av9-1-sn4.m-sp.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DBYE2-0003on-21 for emacs-devel@gnu.org; Wed, 16 Mar 2005 08:06:14 -0500 Original-Received: by av9-1-sn4.m-sp.skanova.net (Postfix, from userid 502) id 52A3637F69; Wed, 16 Mar 2005 14:06:13 +0100 (CET) Original-Received: from smtp2-2-sn4.m-sp.skanova.net (smtp2-2-sn4.m-sp.skanova.net [81.228.10.182]) by av9-1-sn4.m-sp.skanova.net (Postfix) with ESMTP id 411FF37F43 for ; Wed, 16 Mar 2005 14:06:13 +0100 (CET) Original-Received: from sedrcw11488 (t5o58p238.telia.com [195.67.196.238]) by smtp2-2-sn4.m-sp.skanova.net (Postfix) with SMTP id 769D037E52 for ; Wed, 16 Mar 2005 14:06:12 +0100 (CET) Original-To: "Emacs Devel" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 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:34631 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34631 > If I put the mouse cursor on a link with a tooltip and then move the mouse > before the tooltip pops up the tooltips pops up where I have moved the mouse > and then immediately disappears. Do you see this too? This is on w32. Some enhancement to my own message ;-) 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. Maybe this can be seen as a minor bug, but still many users seems to have found the tooltip implementation to be less optimal. So I suggested that it should be corrected. I do not know if this is difficult or not. What is needed (as far as I can see) is that the mouse position when starting the tooltip popup timer is recorded and then compared to the last mouse position when the tooltip actually should popup. If the mouse has moved the tooltip should never popup (instead of flashing by as now). At the moment I do not want to try to implement it since I do not understand how mouse positions are handled generally.