GNU bug report logs - #1743
23.0.60; x-show-tip can't display border correctly.

Previous Next

Package: emacs;

Reported by: Andy Stewart <lazycat.manatee <at> gmail.com>

Date: Tue, 30 Dec 2008 21:00:03 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

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 1743 in the body.
You can then email your comments to 1743 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 bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1743; Package emacs. (Tue, 30 Dec 2008 21:00:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andy Stewart <lazycat.manatee <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 30 Dec 2008 21:00:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Andy Stewart <lazycat.manatee <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; x-show-tip can't display border correctly.
Date: Tue, 30 Dec 2008 12:51:19 -0800 (PST)
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 <f2> M-m C-; M-m M-x r e p 
o <tab> r t <tab> b u <tab> 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]




bug closed, send any further explanations to Andy Stewart <lazycat.manatee <at> gmail.com> Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> emacsbugs.donarmstrong.com. (Thu, 01 Jan 2009 15:45:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Fri, 30 Jan 2009 15:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 204 days ago.

Previous Next


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