GNU bug report logs - #7398
23.2.90; Missing descenders in menu and toolbar tooltips

Previous Next

Packages: emacs, w32;

Reported by: Francis Wright <f.j.wright <at> live.co.uk>

Date: Sun, 14 Nov 2010 11:14:02 UTC

Severity: normal

Found in version 23.2.90

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7398 in the body.
You can then email your comments to 7398 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7398; Package emacs. (Sun, 14 Nov 2010 11:14:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Francis Wright <f.j.wright <at> live.co.uk>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 14 Nov 2010 11:14:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Francis Wright <f.j.wright <at> live.co.uk>
To: <bug-gnu-emacs <at> gnu.org>
Cc: Francis Wright  <f.j.wright <at> live.co.uk>
Subject: 23.2.90; Missing descenders in menu and toolbar tooltips
Date: Sun, 14 Nov 2010 11:17:48 +0000
This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your report will be posted to the bug-gnu-emacs <at> gnu.org mailing list
and the gnu.emacs.bug news group, and at http://debbugs.gnu.org.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug.  If you can, give
a recipe starting from `emacs -Q':

Use Set Default Font... in the Options menu to select Lucida
Console. The descenders or tails disappear from lower case letters in
menu and toolbar tooltips. The characters seem to be cut off below the
text baseline. This does not happen with the initial default font, which
is Courier New. This is on Microsoft Windows 7.

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
c:/Emacs/emacs-23.2.90/etc/DEBUG.


In GNU Emacs 23.2.90.1 (i386-mingw-nt6.1.7600)
 of 2010-11-11 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 6.1.7600
configured using `configure --with-gcc (4.4) --no-opt --cflags
-Ic:/imagesupport/include'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENG
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <menu-bar> <options> <menu-set-font> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar> 
<help-menu> <send-emacs-bug-report>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort mail-extr message ecomplete rfc822 mml easymenu mml-sec
password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1
hex-util hashcash mail-utils emacsbug tooltip ediff-hook vc-hooks
lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars
tool-bar dnd fontset image fringe lisp-mode register page menu-bar
rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process multi-tty emacs)





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7398; Package emacs. (Sun, 14 Nov 2010 14:02:02 GMT) Full text and rfc822 format available.

Message #8 received at 7398 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Francis Wright'" <f.j.wright <at> live.co.uk>, <7398 <at> debbugs.gnu.org>
Subject: RE: bug#7398: 23.2.90; Missing descenders in menu and toolbar tooltips
Date: Sun, 14 Nov 2010 06:05:14 -0800
> This is on Microsoft Windows 7.

Confirmed also for Windows XP.





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7398; Package emacs. (Sun, 14 Nov 2010 18:14:02 GMT) Full text and rfc822 format available.

Message #11 received at 7398 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: f.j.wright <at> live.co.uk, 7398 <at> debbugs.gnu.org
Subject: Re: bug#7398: 23.2.90; Missing descenders in menu and toolbar tooltips
Date: Sun, 14 Nov 2010 20:18:28 +0200
> From: "Drew Adams" <drew.adams <at> oracle.com>
> Date: Sun, 14 Nov 2010 06:05:14 -0800
> Cc: 
> 
> > This is on Microsoft Windows 7.
> 
> Confirmed also for Windows XP.

It is part of a larger problem with Emacs tooltips on MS-Windows: we
somehow miscalculate the dimensions of the tooltip.  You can see that
even with the default font, if you slowly move the mouse pointer from
left to right above the mode line: some of the tooltips that pop up
have truncated text.

There's a TODO comment about this in w32fns.c:x-show-tip.

FWIW, this problem exists at least since Emacs 23.1.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7398; Package emacs,w32. (Mon, 15 Nov 2010 18:35:01 GMT) Full text and rfc822 format available.

Message #14 received at 7398 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: drew.adams <at> oracle.com, f.j.wright <at> live.co.uk, jasonr <at> gnu.org
Cc: 7398 <at> debbugs.gnu.org
Subject: Re: bug#7398: 23.2.90; Missing descenders in menu and toolbar tooltips
Date: Mon, 15 Nov 2010 20:39:17 +0200
> Date: Sun, 14 Nov 2010 20:18:28 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: f.j.wright <at> live.co.uk, 7398 <at> debbugs.gnu.org
> 
> It is part of a larger problem with Emacs tooltips on MS-Windows: we
> somehow miscalculate the dimensions of the tooltip.  You can see that
> even with the default font, if you slowly move the mouse pointer from
> left to right above the mode line: some of the tooltips that pop up
> have truncated text.

Very strange, this problem.  Setting the default font is not supposed
to influence the tooltip font in any way, see tooltip-frame-parameters.
And yet somehow it does, even though the tooltip is displayed with the
same Sans Serif font both before and after Options->Set Default Font.

Any ideas why this could happen?




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7398; Package emacs,w32. (Tue, 16 Nov 2010 20:42:02 GMT) Full text and rfc822 format available.

Message #17 received at 7398 <at> debbugs.gnu.org (full text, mbox):

From: grischka <grishka <at> gmx.de>
To: f.j.wright <at> live.co.uk
Cc: 7398 <at> debbugs.gnu.org
Subject: bug#7398: 23.2.90; Missing descenders in menu and toolbar tooltips
Date: Tue, 16 Nov 2010 21:46:20 +0100
> The characters seem to be cut off below the text baseline.

I guess it's just that emacs refuses to draw outside of the
buffer-window.  A buffer-window in emacs is not necessarily as
big as the available space, in particular not when that space is
less than the next multiple of the size of the default-font size.

--- grischka




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 11 Dec 2010 15:19:01 GMT) Full text and rfc822 format available.

Notification sent to Francis Wright <f.j.wright <at> live.co.uk>:
bug acknowledged by developer. (Sat, 11 Dec 2010 15:19:01 GMT) Full text and rfc822 format available.

Message #22 received at 7398-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: drew.adams <at> oracle.com, f.j.wright <at> live.co.uk, 7398-done <at> debbugs.gnu.org
Subject: Re: bug#7398: 23.2.90; Missing descenders in menu and toolbar tooltips
Date: Sat, 11 Dec 2010 17:24:51 +0200
> Date: Sun, 14 Nov 2010 20:18:28 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: f.j.wright <at> live.co.uk, 7398 <at> debbugs.gnu.org
> 
> > From: "Drew Adams" <drew.adams <at> oracle.com>
> > Date: Sun, 14 Nov 2010 06:05:14 -0800
> > Cc: 
> > 
> > > This is on Microsoft Windows 7.
> > 
> > Confirmed also for Windows XP.
> 
> It is part of a larger problem with Emacs tooltips on MS-Windows: we
> somehow miscalculate the dimensions of the tooltip.  You can see that
> even with the default font, if you slowly move the mouse pointer from
> left to right above the mode line: some of the tooltips that pop up
> have truncated text.
> 
> There's a TODO comment about this in w32fns.c:x-show-tip.
> 
> FWIW, this problem exists at least since Emacs 23.1.

I believe I solved this now (on emacs-23 branch; the trunk needs a
slightly different solution, due to bidi display, to follow shortly).




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7398; Package emacs,w32. (Sat, 11 Dec 2010 16:09:01 GMT) Full text and rfc822 format available.

Message #25 received at 7398 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: 7398 <at> debbugs.gnu.org
Subject: Re: bug#7398: 23.2.90; Missing descenders in menu and toolbar tooltips
Date: Sat, 11 Dec 2010 18:15:07 +0200
> Date: Sat, 11 Dec 2010 17:24:51 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 
> 
> I believe I solved this now (on emacs-23 branch; the trunk needs a
> slightly different solution, due to bidi display, to follow shortly).

Done.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 09 Jan 2011 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 224 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.