unofficial mirror of bug-gnu-emacs@gnu.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
       [not found] ` <4383E9F6-9B66-4DA4-AA3C-D602EB059B97@gmail.com>
  0 siblings, 2 replies; 21+ 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] 21+ 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; 21+ 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] 21+ messages in thread

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

Thread overview: 21+ 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
     [not found] ` <4383E9F6-9B66-4DA4-AA3C-D602EB059B97@gmail.com>
2009-04-24  3:27   ` Adrian Robert
     [not found]   ` <139B721E-A1B4-4256-B202-D4472C0331FB@gmail.com>
2009-05-04 22:55     ` David Reitter
     [not found]     ` <B31667CB-C4A4-48A4-A1E0-7D81AD6880A3@gmail.com>
2009-05-05  1:53       ` Chong Yidong
     [not found]       ` <87d4aowc1l.fsf@cyd.mit.edu>
2009-05-05  3:37         ` David Reitter
     [not found]         ` <2E6E5869-2F70-4AF5-A917-7EA863D6BD42@gmail.com>
2009-05-05 10:36           ` Adrian Robert
     [not found]           ` <1ACB40A8-4422-4B9A-A0F7-FE0B9C738299@gmail.com>
2009-05-05 14:13             ` Chong Yidong
2009-05-06  0:50             ` YAMAMOTO Mitsuharu
     [not found]             ` <87ab5rvds7.fsf@cyd.mit.edu>
2009-05-05 17:32               ` David Reitter
2009-05-06  1:47               ` Stefan Monnier
     [not found]               ` <jwvbpq7m2es.fsf-monnier+emacsbugreports@gnu.org>
2009-05-06  7:40                 ` YAMAMOTO Mitsuharu
     [not found]               ` <48600A00-7FAE-4B80-8B3D-6615230918AF@gmail.com>
2016-01-14  5:08                 ` Andrew Hyatt
     [not found]                 ` <m2k2nc7np0.fsf@gmail.com>
2016-01-14 20:34                   ` Alan J Third
2016-01-14 21:00                     ` David Reitter
2016-01-14 21:39                   ` Christian Kruse
     [not found]                   ` <87r3hjrgc7.fsf@motte.fritz.box>
2016-01-15  7:38                     ` Eli Zaretskii
     [not found]                     ` <837fjbgumi.fsf@gnu.org>
2016-01-16  4:15                       ` Andrew Hyatt
     [not found]             ` <wlprenukaa.wl%mituharu@math.s.chiba-u.ac.jp>
2009-05-06  1:55               ` Adrian Robert
     [not found]               ` <B2B56BBA-6285-48DE-8C95-3BBCA4805146@gmail.com>
2009-05-06  2:25                 ` YAMAMOTO Mitsuharu
  -- strict thread matches above, loose matches on Subject: below --
2009-03-01 22:34 David Reitter

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).