[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in mouse highlighting

From: Richard Stallman
Subject: Bug in mouse highlighting
Date: Sat, 06 Nov 2004 11:53:56 -0500

We still need someone to fix this.

Could someone who has worked on the display code recently
please take a look at this bug?  Please respond to this message
if you work on it.

To: address@hidden
From: Stephen Berman <address@hidden>
Date: Thu, 21 Oct 2004 18:11:01 +0200
Subject: Mouse-face overlay bleeds into header line
Sender: address@hidden

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 bug report will be posted to the address@hidden mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Mouse-face overlays bleed into the header line when the beginning of
the overlay is above (point-min).  To reproduce:

1. Start Emacs with -q -no-site-file.  

2. In *scratch* eval (setq ov (make-overlay 66 92)), (overlay-put ov
'mouse-face 'highlight), and (setq header-line-format "test").  

3. Drag the mouse over the string "evaluation.\n;; If you want" and
notice the highlighting of only this string.  

4. Now click on the down arrow in the scroll bar until the line
beginning ";; If you want" is directly below the header line.  

5. Drag the mouse over ";; If you want" and notice that not only it
but also the header line are highlighted.

I have only gotten this with mouse-face overlays; it doesn't happen
with e.g. face overlays, nor with mouse-face text properties.  It also
happens with header lines from packages such as ruler.el and tabbar.el
-- but not with Info (go to e.g. (elisp) Lisp Data Types and scroll
down until line 22 "Types::.)"  is at the top of the buffer, so that
beginning of the mouse-face highlighting is above (point-min):
dragging the mouse over "Types" highlights only it and not the header
line). I don't know why the Info header line doesn't show this
bleeding. I tried making a header the way the Info header line is made
(as a text property), but still got the bleeding.

This bleeding happens in CVS Emacs (with GTK, I haven't tested with
other toolkits) but not in Emacs 21.3 (however, in Emacs 21.3 the same
recipe yields a different bug: when you do step five, the header line
does not get highlighted, but the highlighted ";; If you want" changes
to "; If you wantt").

In GNU Emacs (i686-pc-linux-gnu, GTK+ Version 2.2.3)
 of 2004-10-18 on feldmann
configured using `configure '--with-x-toolkit=gtk''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  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: en_US
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Major mode: Help

Minor modes in effect:
  show-paren-mode: t
  tabbar-mode: t
  auto-compression-mode: t
  display-time-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  column-number-mode: t
  line-number-mode: t
  view-mode: t

Recent input:
e s c <backspace> <backspace> x t SPC p r o <tab> p 
o <backspace> e r t i e s <return> SPC SPC SPC <down-mouse-5> 
<mouse-5> SPC SPC <prior> M-x C-g C-h f r e p o r <tab> 
- b <tab> <backspace> e m <tab> <return> <help-echo> 
<select-window> <help-echo> <down-mouse-2> <mouse-2> 
<help-echo> <f1> <down-mouse-1> <mouse-1> C-h f <return> 
<select-window> <help-echo> <down-mouse-2> <mouse-2> 
<down-mouse-5> <mouse-5> <double-down-mouse-5> <double-mouse-5> 
<help-echo> <down-mouse-2> <mouse-2> <help-echo> <help-echo> 
<help-echo> <select-window> <help-echo> <f11> <return> 
<down-mouse-4> <mouse-4> <select-window> <help-echo> 
<help-echo> <down-mouse-1> <mouse-1> <help-echo> <help-echo> 
<down-mouse-1> <mouse-1> <f1> q M-x r e p o <tab> r 
<tab> <return>

Recent messages:
Creating customization buffer...
Creating customization buttons...
Creating customization items...
Creating customization items ...done
Creating customization setup...
Creating customization buffer...done
Fontifying .gnu-emacs-custom... (regexps..............)
Wrote /home/steve/.gnu-emacs-custom [2 times]
Making completion list...
Loading emacsbug...done

Emacs-pretest-bug mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]