From: "Jan D." <jan.h.d@swipnet.se>
Cc: Kai Gro?johann <kai.grossjohann@uni-duisburg.de>
Subject: Re: Emacs GTK scroll-bar flickering
Date: Fri, 14 Mar 2003 19:46:47 +0100 [thread overview]
Message-ID: <3E722397.8080900@swipnet.se> (raw)
In-Reply-To: <20030314133509.GA32155@gnu.org>
Miles Bader wrote:
> On Fri, Mar 14, 2003 at 01:44:49PM +0100, Kai Gro?johann wrote:
>
>>Maybe I'm blind or something...
>
>
> I suspect that you're probably just using a GTK theme where it's less
> noticable; I use a pixmap theme (i.e., a bit slow to draw) with a lot of
> contrasty bits, which makes the flicker _very_ obvious. With other themes
> (e.g. the default), it's not as obvious, but I can see that it's still
> happening. Also, I suppose it may be related to the GTK version, etc.
>
> BTW, it's not just inserting characters at the end of the buffer that does
> it, it's essentially _every single command_ (it even flickers if you just let
> it sit there and do nothing!).
Internally in Emacs x_set_toolkit_scroll_bar_thumb gets called a lot, for
example when the cursor moves. One would think it should only be called when
needed (i.e. anithing changed scrollbar-wise). This coupled with the fact that
scroll bar redraws in GTK seems to be particulary bad, makes the flicker
happen. I can just see it when opening a large file and pressing down arrow so
the cursor goes from top to bottom rapidly. I do not have a pixmap theme either.
I am reluctant to change how x_set_toolkit_scroll_bar_thumb gets called as it
might break something, so I added a fix for GTK instead. Please try it.
Scroll bar redraws have been a problem the whole time, for example, getting it
to redraw when moving the scroll bar from the left to the right, getting it to
clear the background (i.e. behind the thumb) when splitting a window, etc.
Jan D.
next prev parent reply other threads:[~2003-03-14 18:46 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. [this message]
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.
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3E722397.8080900@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=kai.grossjohann@uni-duisburg.de \
/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 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.