[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tooltip can be displayed outside the screen

From: Jan D.
Subject: Re: tooltip can be displayed outside the screen
Date: Mon, 12 Dec 2005 11:25:35 +0100
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]