unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7398: 23.2.90; Missing descenders in menu and toolbar tooltips
@ 2010-11-14 11:17 Francis Wright
  2010-11-14 14:05 ` Drew Adams
  2010-11-16 20:46 ` grischka
  0 siblings, 2 replies; 7+ messages in thread
From: Francis Wright @ 2010-11-14 11:17 UTC (permalink / raw)
  To: 7398; +Cc: Francis Wright

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@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)






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#7398: 23.2.90; Missing descenders in menu and toolbar tooltips
  2010-11-14 11:17 bug#7398: 23.2.90; Missing descenders in menu and toolbar tooltips Francis Wright
@ 2010-11-14 14:05 ` Drew Adams
  2010-11-14 18:18   ` Eli Zaretskii
  2010-11-16 20:46 ` grischka
  1 sibling, 1 reply; 7+ messages in thread
From: Drew Adams @ 2010-11-14 14:05 UTC (permalink / raw)
  To: 'Francis Wright', 7398

> This is on Microsoft Windows 7.

Confirmed also for Windows XP.






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#7398: 23.2.90; Missing descenders in menu and toolbar tooltips
  2010-11-14 14:05 ` Drew Adams
@ 2010-11-14 18:18   ` Eli Zaretskii
  2010-11-15 18:39     ` Eli Zaretskii
  2010-12-11 15:24     ` Eli Zaretskii
  0 siblings, 2 replies; 7+ messages in thread
From: Eli Zaretskii @ 2010-11-14 18:18 UTC (permalink / raw)
  To: Drew Adams; +Cc: f.j.wright, 7398

> From: "Drew Adams" <drew.adams@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.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#7398: 23.2.90; Missing descenders in menu and toolbar tooltips
  2010-11-14 18:18   ` Eli Zaretskii
@ 2010-11-15 18:39     ` Eli Zaretskii
  2010-12-11 15:24     ` Eli Zaretskii
  1 sibling, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2010-11-15 18:39 UTC (permalink / raw)
  To: drew.adams, f.j.wright, jasonr; +Cc: 7398

> Date: Sun, 14 Nov 2010 20:18:28 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: f.j.wright@live.co.uk, 7398@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?





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#7398: 23.2.90; Missing descenders in menu and toolbar tooltips
  2010-11-14 11:17 bug#7398: 23.2.90; Missing descenders in menu and toolbar tooltips Francis Wright
  2010-11-14 14:05 ` Drew Adams
@ 2010-11-16 20:46 ` grischka
  1 sibling, 0 replies; 7+ messages in thread
From: grischka @ 2010-11-16 20:46 UTC (permalink / raw)
  To: f.j.wright; +Cc: 7398

 > 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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#7398: 23.2.90; Missing descenders in menu and toolbar tooltips
  2010-11-14 18:18   ` Eli Zaretskii
  2010-11-15 18:39     ` Eli Zaretskii
@ 2010-12-11 15:24     ` Eli Zaretskii
  2010-12-11 16:15       ` Eli Zaretskii
  1 sibling, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2010-12-11 15:24 UTC (permalink / raw)
  To: drew.adams, f.j.wright, 7398-done

> Date: Sun, 14 Nov 2010 20:18:28 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: f.j.wright@live.co.uk, 7398@debbugs.gnu.org
> 
> > From: "Drew Adams" <drew.adams@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).





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#7398: 23.2.90; Missing descenders in menu and toolbar tooltips
  2010-12-11 15:24     ` Eli Zaretskii
@ 2010-12-11 16:15       ` Eli Zaretskii
  0 siblings, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2010-12-11 16:15 UTC (permalink / raw)
  To: 7398

> Date: Sat, 11 Dec 2010 17:24:51 +0200
> From: Eli Zaretskii <eliz@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.





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-12-11 16:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-14 11:17 bug#7398: 23.2.90; Missing descenders in menu and toolbar tooltips Francis Wright
2010-11-14 14:05 ` Drew Adams
2010-11-14 18:18   ` Eli Zaretskii
2010-11-15 18:39     ` Eli Zaretskii
2010-12-11 15:24     ` Eli Zaretskii
2010-12-11 16:15       ` Eli Zaretskii
2010-11-16 20:46 ` grischka

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