From unknown Mon Aug 18 17:53:24 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#1743: 23.0.60; x-show-tip can't display border correctly. Reply-To: Andy Stewart , 1743@debbugs.gnu.org Resent-From: Andy Stewart Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 30 Dec 2008 21:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 1743 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12306702889242 (code B ref -1); Tue, 30 Dec 2008 21:00:03 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 30 Dec 2008 20:51:28 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA,MURPHY_DRUGS_REL8 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBUKpPjb009235 for ; Tue, 30 Dec 2008 12:51:26 -0800 Received: from mail.gnu.org ([199.232.76.166]:40169 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LHlXi-0006SN-0J for emacs-pretest-bug@gnu.org; Tue, 30 Dec 2008 15:50:22 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LHlYh-0008GL-KY for emacs-pretest-bug@gnu.org; Tue, 30 Dec 2008 15:51:24 -0500 Received: from ti-out-0910.google.com ([209.85.142.188]:48948) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LHlYg-0008Fz-Vt for emacs-pretest-bug@gnu.org; Tue, 30 Dec 2008 15:51:23 -0500 Received: by ti-out-0910.google.com with SMTP id u5so3896858tia.10 for ; Tue, 30 Dec 2008 12:51:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject; bh=Z3tUudgeJKh0bESU4HF1JsqcgWlWr93ZCkaSPYBUKRA=; b=fadL5Hky/nIud7R3xrYbTP+4hGjCTkRqiMp1DfL0R1+Ur+x+mdizGHTN03hss3/fwv u15WKaOlSlcH357S5B8QPV2MxYsL6T0bW8hV2RIPD83BFjImvx6zbvCIsMbFVH8ZrjxM 7wXvYRZcbBbJYv+8673Tk/3Ee/BePcedI0bIk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject; b=rEgBzVz+E+2VAxacIwVoeddmbMBA7ECflcUMBBKD2BDXlVll431yeOhequpQ87EExC LbBQkY85dgZ6p6tzXdjd6Rxp/o/lSyeJbr8FsxiI0xCrjWATvcNH2iBHF/bBuJG/q8DJ amlqQ7Grew6xpQSYzUXXk2Nnb13+qhJsZ5+1s= Received: by 10.110.40.8 with SMTP id n8mr2793503tin.0.1230670280151; Tue, 30 Dec 2008 12:51:20 -0800 (PST) Received: from smtp.gmail.com ([222.212.132.169]) by mx.google.com with ESMTPS id w5sm2432914tib.34.2008.12.30.12.51.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 30 Dec 2008 12:51:19 -0800 (PST) Message-ID: <495a89c7.05636e0a.0298.ffff8f45@mx.google.com> Date: Tue, 30 Dec 2008 12:51:19 -0800 (PST) From: Andy Stewart To: emacs-pretest-bug@gnu.org X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Below bug can reproduce with "emacs -Q". Use function `x-show-tip' will show tooltip window with information. And default will display border around tooltip window. Now this have two bug with `x-show-tip'. 1> `x-show-tip' can display border: In file `tooltip.el.gz' have function `tooltip-show', example i add (setq params (tooltip-set-param parmas 'border-width 1)) before before, 245 ... 246 (x-show-tip (propertize text 'face 'tooltip) 247 ... `x-show-tip' should display border, but it won't display border. You can reproduce this bug with (tooltip-show "bug report"). And if you want to see effect of tooltip border. Just replace like below: 246 (x-show-tip (propertize text 'face 'tooltip) 247 (selected-frame) 248 --- params 248 +++ tooltip-frame-parameters 249 tooltip-hide-delay 250 tooltip-x-offset 251 tooltip-y-offset) And then eval (tooltip-show "display border"), you will find tooltip display with border. Above change just show border with tooltip, not patch. 2> Can't display border completed. If change above code, you will get tooltip with border. But when your *show text* to `tooltip-show' is too width, the *right border* can't display, You can reproduce this with (tooltip-show "This line is too width width width width width width width width width width width width width...") then you can find right border can't display correctly. Alike, if *show text* is too height *bottom border* can't display correctly. Thank you very much! -- Andy In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-12-25 on debian Windowing system distributor `The X.Org Foundation', version 11.0.10402000 configured using `configure '--prefix=/home/andy/MyEmacs/Common' '--with-x' '--with-x-toolkit=gtk' '--enable-font-backend' '--with-freetype' '--with-xft' '--with-xpm' '--with-jpeg' '--with-png' '--with-gif' '--with-tiff' '--with-dbus'' 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: zh_CN.UTF-8 value of $XMODIFIERS: @im=SCIM locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: auto-image-file-mode: t display-time-mode: t icomplete-mode: t minibuffer-depth-indicate-mode: t savehist-mode: t show-paren-mode: t diff-auto-refine-mode: t window-number-mode: t company-mode: t highlight-changes-visible-mode: t icicle-mode: t paredit-mode: t w3m-fb-mode: t linum-mode: t recentf-mode: t scroll-mode-line-mode: t tabbar-mwheel-mode: t tabbar-mode: t global-hl-line-mode: t which-function-mode: t semantic-idle-completions-mode: t yas/minor-mode: t highlight-parentheses-mode: t shell-dirtrack-mode: t eldoc-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t hs-minor-mode: t Recent input: C-z y C-z y C-a C-k C-k M-m C-; M-m M-x r e p o r t b u RET Recent messages: Startup with window[1] Wrote /home/andy/MyEmacs/Site-Lisp/Configure/LazyCatStartup.el Showing all blocks ... done Compiling /home/andy/MyEmacs/Site-Lisp/Configure/LazyCatStartup.el... Fontifying *Compile-Log*... (regexps.......................................................) Compiling /home/andy/MyEmacs/Site-Lisp/Configure/LazyCatStartup.el...done Wrote /home/andy/MyEmacs/Site-Lisp/Configure/LazyCatStartup.elc Loading /home/andy/MyEmacs/Site-Lisp/Configure/LazyCatStartup.elc...done Auto-saving... Computing completion candidates... [2 times] From cyd@stupidchicken.com Thu Jan 1 07:35:37 2009 Received: (at control) by emacsbugs.donarmstrong.com; 1 Jan 2009 15:35:37 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=VALID_BTS_CONTROL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n01FZZfr015471 for ; Thu, 1 Jan 2009 07:35:36 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id 475AB57E04D; Thu, 1 Jan 2009 10:35:38 -0500 (EST) From: Chong Yidong To: control@debbugs.gnu.org Subject: reopen 1742 Date: Thu, 01 Jan 2009 10:35:38 -0500 Message-ID: <87sko3xcmt.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii reopen 1742 close 1743 thanks