From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "D Chiesa" Newsgroups: gmane.emacs.bugs 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 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1270787377 27886 80.91.229.12 (9 Apr 2010 04:29:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 9 Apr 2010 04:29:37 +0000 (UTC) To: 5908@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 09 06:29:36 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O05qa-0007Zp-26 for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Apr 2010 06:29:36 +0200 Original-Received: from localhost ([127.0.0.1]:51182 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O05qZ-0007jc-Dp for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Apr 2010 00:29:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NzwT4-00067D-UC for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2010 14:28:42 -0400 Original-Received: from [140.186.70.92] (port=41348 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzwSz-0005uq-8I for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2010 14:28:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NzwSy-0001Ei-23 for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2010 14:28:37 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58162) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzwSw-0001ET-OG for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2010 14:28:35 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NzwRS-0006N5-CL; Thu, 08 Apr 2010 14:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "D Chiesa" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Apr 2010 18:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 5908 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.127075118324479 (code B ref -1); Thu, 08 Apr 2010 18:27:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Apr 2010 18:26:23 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzwQo-0006Mm-LZ for submit@debbugs.gnu.org; Thu, 08 Apr 2010 14:26:23 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzwN9-0006Kb-55 for submit@debbugs.gnu.org; Thu, 08 Apr 2010 14:22:38 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:34588) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NzwMu-0006c8-A1 for submit@debbugs.gnu.org; Thu, 08 Apr 2010 14:22:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NzwMs-0002hF-Eo for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2010 14:22:18 -0400 Original-Received: from [140.186.70.92] (port=54848 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzwMp-0002gH-Su for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2010 14:22:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NzwMn-00083L-1t for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2010 14:22:14 -0400 Original-Received: from col0-omc1-s12.col0.hotmail.com ([65.55.34.22]:43444) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzwMm-000838-Tv for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2010 14:22:13 -0400 Original-Received: from COL124-DS3 ([65.55.34.7]) by col0-omc1-s12.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 8 Apr 2010 11:10:51 -0700 X-Originating-IP: [98.111.252.155] X-Originating-Email: [dpchiesa@hotmail.com] X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8089.726 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726 X-OriginalArrivalTime: 08 Apr 2010 18:10:51.0161 (UTC) FILETIME=[D26E5890:01CAD746] X-detected-operating-system: by eggs.gnu.org: Windows 2000 SP4, XP SP1+ X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Thu, 08 Apr 2010 14:26:21 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 08 Apr 2010 14:27:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Fri, 09 Apr 2010 00:28:07 -0400 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36122 Archived-At: 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: s SPC C-u C-x TAB C-w C-y C-x C-s C-x b b C-g C-x C-f f l y j > f o r - C-x C-s C-x C-e C-x b C-x C-e 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 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 C-r C-p C-p C-p C-p C-p C-p C-n C-c 1 C-n C-a C-c 1 C-b C-p C-p C-a C-c 1 C-e C-d C-c 1 C-n C-n C-n C-a C-c 1 C-n C-p C-n C-n C-n 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 x r e p o r t - e m 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