Subject: Re: bug#5908: tooltip-show breaks with multiline tip on Emacs for Windows v22.2.1

From: Eli Zaretskii <[email-masked]>
Date: Fri, 09 Apr 2010 11:02:42 +0300

> From: "D Chiesa" <[email-masked]>
> Date: Thu, 8 Apr 2010 14:10:20 -0400
> Cc: 
> 
> Emacs doesn't properly display long text tooltips, or multi-line tooltips, 
> on Windows.
> 
> You can see a picture of the problem here:
>     http://i42.tinypic.com/qqu0ja.jpg
> 
> And you can demonstrate it for yourself by doing
> 
> (tooltip-show  "very very long string message........" )
> 
> You'll see that the last line in the displayed tooltip is clipped.

This is a known and a nasty problem, present in Emacs 23 as well.  The
ugly part is that the behavior depends on the size of the font used
for the tooltips.  If you play with that font's definition, you will
eventually find a size where the clipping doesn't happen.  (The value
depends on the size and resolution of your monitor.)

Someone who knows much more about GUI display than I do should look
into this, because I can spot nothing wrong in the code.