unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan D." <jan.h.d@swipnet.se>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs GTK scroll-bar flickering
Date: Thu, 27 Mar 2003 19:06:25 +0100 (CET)	[thread overview]
Message-ID: <200303271910.h2RJAdbL026412@stubby.bodenonline.com> (raw)
In-Reply-To: <buou1dpa9ip.fsf@mcspd15.ucom.lsi.nec.co.jp> "from Miles Bader at Mar 27, 2003 10:22:22 am"

> "Jan D." <jan.h.d@swipnet.se> writes:
> > It turns out that since the container widget Emacs uses isn't double
> > buffered, all the children (scroll bars) does not get double buffering
> > either.
> > 
> > I have checked in a fix for this (actually a couple a days ago, but it was 
> > incomplete), hopefully it finally fixes this problem (hey, one can hope :-).
> 
> Yes, this seems to have fixed the flickering problem completely
> (there are still some rough updates when the emacs window configuration
> changes, but that's a relatively rare event, and I guess this sort of
> thing is probably never going to be perfect, given that GTK is somewhat
> bolted onto emacs).

There are some issues I know about, for example the tool bar does not behave
at startup.  There are more redraws of GTK widgets than what is optimal.

> BTW, I find that I can get better scrolling behavior with emacs/GTK if I
> set `redisplay-dont-pause' to t -- otherwise, if I e.g., hold down a
> scroll key (say C-v), scrolling updates the scroll bar smoothly, but the
> text window only gets updated when I stop scrolling.  Any comment on
> this?  [My processor seems to be fast enough to keep up when
> redisplay-dont-pause is t]

It must be that the redisplay code decided to delay the redisplay
because of other input (keys or X events).
I can hardly see any difference when I set redisplay-dont-pause to t
but I imagine redisplay-dont-pause fills the same job as "smooth-scroll"
in xterm.  In that case what you see is the intended behaviour, less
redisplay to use less CPU-time.

	Jan D.

  parent reply	other threads:[~2003-03-27 18:06 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-14  5:39 Emacs GTK scroll-bar flickering Miles Bader
2003-03-14 10:19 ` Kai Großjohann
2003-03-14 11:52   ` Andreas Schwab
2003-03-14 12:44     ` Kai Großjohann
2003-03-14 13:35       ` Miles Bader
2003-03-14 18:46         ` Jan D.
2003-03-14 20:04           ` Stefan Monnier
2003-03-14 20:35             ` Jan D.
2003-03-17  5:58           ` Miles Bader
2003-03-17 23:26             ` Jan D.
2003-03-18  1:33               ` Miles Bader
2003-03-18  5:39                 ` Jan D.
2003-03-18  6:15                   ` Miles Bader
2003-03-18  6:44                     ` Luc Teirlinck
2003-03-18  6:54                       ` Miles Bader
2003-03-18  7:05                         ` Luc Teirlinck
2003-03-18  7:56                           ` Miles Bader
2003-03-18  8:09                             ` Miles Bader
2003-03-19  8:48                           ` Richard Stallman
2003-03-18 22:15                     ` Jan D.
2003-03-18 22:42                       ` Kevin Rodgers
2003-03-19  6:05                         ` Jan D.
2003-03-18 23:28                       ` Miles Bader
2003-03-19  1:07                         ` Kim F. Storm
2003-03-19  1:26                           ` Miles Bader
2003-03-19 22:27                             ` Jan D.
2003-03-20  1:19                               ` Miles Bader
2003-03-21 19:06                               ` Richard Stallman
2003-03-26 18:17                                 ` Jan D.
2003-03-27  1:22                                   ` Miles Bader
2003-03-27  6:54                                     ` Miles Bader
2003-03-27 22:12                                       ` Richard Stallman
2003-03-28  1:29                                         ` Miles Bader
2003-03-29 18:38                                           ` Richard Stallman
2003-03-27 18:06                                     ` Jan D. [this message]
2003-03-27 19:04                                     ` Richard Stallman
2003-03-20  8:45                       ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200303271910.h2RJAdbL026412@stubby.bodenonline.com \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).