bug#3459: NS: mouse-face flicker

David Reitter <[email protected]>
Newsgroups gmane.emacs.bugs,gmane.emacs.pretest.bugs
Message-ID <[email protected]>
This happens only with the NS port, not on X:

Emacs -Q

(insert (propertize "Hello World" 'mouse-face 'highlight))

Hover mouse over the Hello World text.   Nothing special should happen.

Now select a region with the mouse or the keyboard.

Hover mouse over mouseface text again ==> Heavy flicker; there is a  
visible, sequential removal and redraw of the highlighted text with  
every mouse movement.


Diagnosis:

I'm not sure, hence this report.
One contributing factor is that we ns_flush() in ns_update_end().   
However, this is not just due to nested updates, and just adding  
ns_update calls in note_mouse_highlight alonedoesn't seem to help, at  
least when transient-mark-mode is on.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.