all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#2530: 23/NS: redraws according to mouse-face are slow
@ 2009-03-04 21:29 Adrian Robert
  2009-04-20 18:01 ` David Reitter
  2009-04-20 18:01 ` David Reitter
  0 siblings, 2 replies; 40+ messages in thread
From: Adrian Robert @ 2009-03-04 21:29 UTC (permalink / raw)
  To: 2530; +Cc: David Reitter

> I find that the redisplay of overlays that happens when the mouse is
> moved into an overlay with a mouse-face property are much slower in
> Emacs 23 (NS, under Cocoa/OS X).  It is pretty much a nasty animation
> - every layer is redrawn from left to right, it seems, and every step
> is visible.  It seems that background is drawn first, and then the
> text over it.

Yes, this has been an issue for years from Emacs on Aqua on and it  
completely baffles me.  The NS code for handling mouse face is  
identical to other platforms as far as I can tell, so I don't know  
why the issue occurs only here.  And the animation is far slower than  
any code on the NS side could be taking.  It must be a bug somewhere  
on the core display side that is exposed because (guessing here) the  
event loop under NS is done slightly differently.







^ permalink raw reply	[flat|nested] 40+ messages in thread
* bug#2530: 23/NS: redraws according to mouse-face are slow
@ 2009-03-01 22:34 David Reitter
  0 siblings, 0 replies; 40+ messages in thread
From: David Reitter @ 2009-03-01 22:34 UTC (permalink / raw)
  To: emacs-pretest-bug

[-- Attachment #1: Type: text/plain, Size: 818 bytes --]

I find that the redisplay of overlays that happens when the mouse is  
moved into an overlay with a mouse-face property are much slower in  
Emacs 23 (NS, under Cocoa/OS X).  It is pretty much a nasty animation  
- every layer is redrawn from left to right, it seems, and every step  
is visible.  It seems that background is drawn first, and then the  
text over it.

The overlays I am working with are in the header-line; I'm using (an  
adapted version of) tabbar.el for this.  The resulting package is a  
not stand-alone and I'd have a hard time turning it into a small test  
case; before I work on this, I'd rather ask here if this problem is a  
known one.

I have experimented with calls to NSDisableScreenUpdates () in  
ns_update_begin, ns_update_window_begin and ns_focus, but that didn't  
help at all.



[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2193 bytes --]

^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2016-01-16  4:15 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-04 21:29 bug#2530: 23/NS: redraws according to mouse-face are slow Adrian Robert
2009-04-20 18:01 ` David Reitter
2009-04-24  3:27   ` bug#2530: " Adrian Robert
2009-04-24  3:27   ` Adrian Robert
2009-05-04 22:55     ` bug#2530: " David Reitter
2009-05-04 22:55     ` David Reitter
2009-05-04 23:24       ` Leo
2009-05-05  1:53       ` Chong Yidong
2009-05-05  3:37         ` David Reitter
2009-05-05 10:36           ` Adrian Robert
2009-05-05 14:13             ` bug#2530: " Chong Yidong
2009-05-05 14:13             ` Chong Yidong
2009-05-05 17:32               ` bug#2530: " David Reitter
2009-05-05 17:32               ` David Reitter
2016-01-14  5:08                 ` bug#2530: " Andrew Hyatt
2016-01-14  5:08                 ` Andrew Hyatt
2016-01-14 20:34                   ` Alan J Third
2016-01-14 21:00                     ` David Reitter
2016-01-14 21:00                     ` David Reitter
2016-01-14 21:39                   ` Christian Kruse
2016-01-14 21:39                   ` Christian Kruse
2016-01-15  7:38                     ` Eli Zaretskii
2016-01-15  7:38                     ` Eli Zaretskii
2016-01-16  4:15                       ` Andrew Hyatt
2016-01-16  4:15                       ` Andrew Hyatt
2009-05-06  1:47               ` Stefan Monnier
2009-05-06  7:40                 ` YAMAMOTO Mitsuharu
2009-05-06  7:40                 ` bug#2530: " YAMAMOTO Mitsuharu
2009-05-06  1:47               ` Stefan Monnier
2009-05-06  0:50             ` YAMAMOTO Mitsuharu
2009-05-06  0:50             ` YAMAMOTO Mitsuharu
2009-05-06  1:55               ` bug#2530: " Adrian Robert
2009-05-06  1:55               ` Adrian Robert
2009-05-06  2:25                 ` YAMAMOTO Mitsuharu
2009-05-06  2:25                 ` bug#2530: " YAMAMOTO Mitsuharu
2009-05-05 10:36           ` Adrian Robert
2009-05-05  3:37         ` David Reitter
2009-05-05  1:53       ` Chong Yidong
2009-04-20 18:01 ` David Reitter
  -- strict thread matches above, loose matches on Subject: below --
2009-03-01 22:34 David Reitter

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.