unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#16621: 24.3.50; Periodic timer + overlays = flickering near point
@ 2014-02-02  1:01 Dmitry Gutov
  2014-02-02  2:33 ` Stefan Monnier
  2014-02-02 16:39 ` Eli Zaretskii
  0 siblings, 2 replies; 26+ messages in thread
From: Dmitry Gutov @ 2014-02-02  1:01 UTC (permalink / raw)
  To: 16621

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

It happens with different overlays, and with the default monospaced font
of my system (Ubuntu GNU/Linux), but it's easiest to reproduce doing
isearch, and using Fira Mono (TrueType version, available from
https://www.mozilla.org/en-US/styleguide/products/firefox-os/typeface/,
see the bottom of the page). Steps from emacs -Q:

1. Evaluate (run-at-time nil 0.01 'ignore)

2. Evaluate (set-face-attribute 'default nil :height 105 :family "Fira Mono")

This is optional, but with the default font the flickering is harder to
reproduce.

3. Open a text file press C-s (or C-r), enter some letters, preferably
common to that file, press C-s or C-r again. Repeat multiple times.
Maybe do that for a couple of minutes, even.

4. Observe flickering letters, usually one to the left, or one to the
right of the cursor.

Most of the time the flickering happens 2 or 3 times and stops, but I've
managed to record a couple of semi-stable loops of this on video, see
the attachment. It demonstrates a somewhat extreme situation, usually I
only see flickering once every handful searches or so.

This is in no way limited to isearch. For example, I can also see it
when typing, when using the fancy highlight-tail-mode
(http://www.emacswiki.org/emacs-en/highlight-tail.el), at least with
settings highlight-tail-steps 14, highlight-tail-timer 0.02.

Let me know if the video format (h264) is not acceptable.

In GNU Emacs 24.3.50.5 (x86_64-unknown-linux-gnu, GTK+ Version 3.8.6)
 of 2014-02-01 on axl
Repository revision: 116234 dgutov@yandex.ru-20140201170608-2rn2phrkukqt84gm
Windowing system distributor `The X.Org Foundation', version 11.0.11405000
System Description:	Ubuntu 13.10


[-- Attachment #2: screencast --]
[-- Type: video/mp4, Size: 651543 bytes --]

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

end of thread, other threads:[~2014-02-06 14:20 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-02  1:01 bug#16621: 24.3.50; Periodic timer + overlays = flickering near point Dmitry Gutov
2014-02-02  2:33 ` Stefan Monnier
2014-02-02  2:37   ` Dmitry Gutov
2014-02-02 16:39 ` Eli Zaretskii
2014-02-03  2:12   ` Stefan Monnier
2014-02-03  5:47     ` Eli Zaretskii
2014-02-03 13:41       ` Stefan Monnier
2014-02-03 16:14         ` Eli Zaretskii
2014-02-04  3:28           ` Stefan Monnier
2014-02-04  3:44             ` Eli Zaretskii
2014-02-04  2:34   ` Dmitry Gutov
2014-02-04  3:48     ` Eli Zaretskii
2014-02-04  6:17       ` Dmitry Gutov
2014-02-04 16:00         ` Eli Zaretskii
2014-02-04 22:08           ` Jan D.
2014-02-05  3:57             ` Eli Zaretskii
2014-02-05  6:02               ` Jan Djärv
2014-02-05 15:40                 ` Eli Zaretskii
2014-02-05 13:46               ` Stefan Monnier
2014-02-05 15:59                 ` Eli Zaretskii
2014-02-05 18:57                   ` Stefan Monnier
2014-02-05 20:00                     ` Eli Zaretskii
2014-02-05 21:46                       ` Stefan Monnier
2014-02-06  5:56                         ` Eli Zaretskii
2014-02-06 13:08                           ` Stefan Monnier
2014-02-06 14:20                             ` Eli Zaretskii

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).