all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "D Chiesa" <dpchiesa@hotmail.com>
To: 5908@debbugs.gnu.org
Subject: bug#5908: tooltip-show breaks with multiline tip on Emacs for Windows v22.2.1
Date: Thu, 8 Apr 2010 14:10:20 -0400	[thread overview]
Message-ID: <COL124-DS3103AEF3C1A1948EBD87DCE160@phx.gbl> (raw)

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.

It seems that the size of the tooltip is not correctly calculated.

Appending a newline '\n' to the string to be displayed, allows the tooltip 
to be seen in its entirety, although with more "border" than is necessary on 
the bottom of the text.



In GNU Emacs 22.2.1 (i386-mingw-nt6.0.6001)
 of 2008-03-26 on RELEASE
Windowing system distributor `Microsoft Corp.', version 6.0.6001
configured using `configure --with-gcc (3.4)'

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: ENU
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
  yas/minor-mode: t
  shell-dirtrack-mode: t
  nxhtml-global-minor-mode: t
  encoded-kbd-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
<backspace> s <down> <down> <down> <escape> SPC <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> C-u
C-x TAB C-w C-y <help-echo> <help-echo> C-x C-s C-x
b b <backspace> C-g C-x C-f f l y <tab> j <tab> <return>
<escape> > <up> <C-left> <C-left> <C-right> <right>
f o r - <down> C-x C-s C-x C-e <return> C-x b <return>
C-x C-e <return> <help-echo> <help-echo> C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-p C-n C-n C-k C-k C-k C-k C-k C-k C-y C-p
C-w C-k C-n C-n C-p C-e C-d C-c 1 C-e C-k C-c 1 C-e
C-k C-c 1 C-n C-a C-k C-k C-n C-k C-k C-k C-k C-k C-k
C-p C-p C-p <escape> SPC C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n <escape>
C-r C-p C-p C-p C-p C-p C-p C-n <backspace> C-c 1 C-n
C-a <backspace> C-c 1 <backspace> C-b <backspace> C-p
C-p C-a <backspace> C-c 1 <backspace> C-e C-d C-c 1
<backspace> C-n C-n C-n C-a <backspace> C-c 1 <backspace>
C-n C-p C-n C-n C-n <escape> SPC C-p C-p C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-u C-x TAB
C-w C-y C-x C-s <help-echo> <escape> x r e p o r t
- e m <tab> <return>

Recent messages:
Wrote c:/Users/dinoch/elisp/flymake-for-jslint.el
Compiling c:/Users/dinoch/elisp/flymake-for-jslint.el...done
Wrote c:/Users/dinoch/elisp/flymake-for-jslint.elc
Compiling c:/Users/dinoch/elisp/flymake-for-csharp.el...done
Wrote c:/Users/dinoch/elisp/flymake-for-csharp.elc
Mark set
Mark activated
Mark set [2 times]
Wrote c:/Users/dinoch/elisp/flymake-for-csharp.el
Loading emacsbug...done 








             reply	other threads:[~2010-04-08 18:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-08 18:10 D Chiesa [this message]
2010-04-08 19:17 ` bug#5908: tooltip-show breaks with multiline tip on Emacs for Windows v22.2.1 Chong Yidong
2010-04-08 19:35   ` Glenn Morris
2010-04-09 16:58     ` Jan Djärv
2010-04-09 22:13       ` YAMAMOTO Mitsuharu
2010-04-10  6:45         ` Jan Djärv
2010-04-10 10:59           ` YAMAMOTO Mitsuharu
2010-04-09  8:02 ` Eli Zaretskii
2010-04-09 14:18   ` D Chiesa

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

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

  git send-email \
    --in-reply-to=COL124-DS3103AEF3C1A1948EBD87DCE160@phx.gbl \
    --to=dpchiesa@hotmail.com \
    --cc=5908@debbugs.gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.