unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Lennart Borgman" <lennart.borgman.073@student.lu.se>
Subject: Re: Tooltip pops up when moving mouse
Date: Wed, 16 Mar 2005 14:06:21 +0100	[thread overview]
Message-ID: <001b01c52a28$f7967ba0$0200a8c0@sedrcw11488> (raw)
In-Reply-To: 002501c52984$826bc550$0200a8c0@sedrcw11488

> 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.

  reply	other threads:[~2005-03-16 13:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-15 17:29 Tooltip pops up when moving mouse Lennart Borgman
2005-03-16 13:06 ` Lennart Borgman [this message]
2005-03-16 21:35   ` Jan D.
2005-03-17 17:12     ` Lennart Borgman
2005-03-17 20:12       ` Jan D.
2005-03-17 20:42         ` Lennart Borgman
2005-03-17 23:01           ` Lennart Borgman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001b01c52a28$f7967ba0$0200a8c0@sedrcw11488' \
    --to=lennart.borgman.073@student.lu.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).