From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Jason Rumney <jasonr@gnu.org>
Cc: emacs-devel@gnu.org, Miles Bader <miles@gnu.org>
Subject: Re: Scrollbar thumbs
Date: Mon, 02 Nov 2009 09:10:56 -0500 [thread overview]
Message-ID: <jwvbpjl6mxt.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <4AEE8D37.7030509@gnu.org> (Jason Rumney's message of "Mon, 02 Nov 2009 15:41:43 +0800")
> Since 23.1, Emacs on w32 allows the scroll thumb to shrink while being
> dragged at the bottom of the buffer. Previous versions fixed the size of
> the thumb while dragging, which I think is the brain damage which GTK forces
> on you that Miles is refering to, as you are unable to reach the bottom of
> the buffer by dragging the scrollbar in some circumstances because of
> assumptions Emacs makes to relate characters to pages of scrolling without
> wasting time doing a full calculation over the buffer.
Not sure how it works on w32, but yes on Gtk IIRC the thumb can't be
resized during dragging. In Xaw3d the problem was halfway: the code
was/is able to resize the thumb during a drag, but the thumb may hit the
bottom too soon, in case we haven't resized it quickly enough.
My favorite solution to those problem nowadays is to set the thumb-size
to its minimum (typically 0, which results in a small but no invisible
thumb) during dragging: makes for smooth scrolling (without the need to
resize the thumb during scrolling) while still allowing the thumb size
to correctly reflect the begin&end of the viewed area when
not scrolling.
Stefan
next prev parent reply other threads:[~2009-11-02 14:10 UTC|newest]
Thread overview: 85+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-30 11:18 Customizing the mode line Eli Zaretskii
2009-10-30 11:28 ` Juanma Barranquero
2009-10-30 13:38 ` Stefan Monnier
2009-10-30 15:15 ` Eli Zaretskii
2009-10-30 16:54 ` Drew Adams
2009-10-30 17:18 ` Eli Zaretskii
2009-10-30 19:12 ` Stefan Monnier
2009-10-30 20:39 ` Eli Zaretskii
2009-10-31 5:16 ` Miles Bader
2009-10-31 8:47 ` Eli Zaretskii
2009-10-31 10:00 ` Juanma Barranquero
2009-10-31 16:03 ` Drew Adams
2009-10-31 16:29 ` Eli Zaretskii
2009-10-31 17:03 ` Drew Adams
2009-10-31 6:09 ` Manoj Srivastava
2009-10-31 10:31 ` Štěpán Němec
2009-10-31 20:38 ` Scrollbar thumbs (was: Customizing the mode line) Stefan Monnier
2009-11-01 3:11 ` Scrollbar thumbs Miles Bader
2009-11-02 6:55 ` Stefan Monnier
2009-11-02 7:41 ` Jason Rumney
2009-11-02 14:10 ` Stefan Monnier [this message]
2009-11-04 16:36 ` Customizing the mode line Evil Boris
2009-10-30 15:01 ` joakim
2009-10-30 15:25 ` Eli Zaretskii
2009-10-30 21:55 ` Stephen Berman
2009-10-30 17:45 ` Chong Yidong
2009-10-30 20:41 ` Eli Zaretskii
2009-10-30 20:56 ` Lennart Borgman
2009-10-31 0:13 ` Stefan Monnier
2009-10-31 5:17 ` Justin Bogner
2009-10-31 5:19 ` Miles Bader
2009-10-31 11:07 ` Richard Stallman
2009-10-31 11:19 ` Juanma Barranquero
2009-11-01 9:28 ` Richard Stallman
2009-11-01 15:21 ` Juanma Barranquero
2009-10-31 11:27 ` Eli Zaretskii
2009-10-31 14:09 ` Robert J. Chassell
2009-10-31 14:30 ` Eli Zaretskii
2009-10-31 22:13 ` Robert J. Chassell
2009-10-31 22:40 ` Robert J. Chassell
2009-11-01 3:49 ` Eli Zaretskii
2009-10-31 18:55 ` Juanma Barranquero
2009-10-31 17:46 ` M Jared Finder
2009-10-31 18:30 ` Eli Zaretskii
2009-10-31 19:02 ` Juanma Barranquero
2009-10-31 14:33 ` Chong Yidong
2009-10-31 15:45 ` Eli Zaretskii
2009-10-31 18:07 ` Chong Yidong
2009-10-31 18:21 ` Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2009-11-02 10:41 Scrollbar thumbs (was: Customizing the mode line) grischka
2009-11-02 11:21 ` Scrollbar thumbs Miles Bader
2009-11-03 0:48 ` grischka
2009-11-03 9:27 ` David Kastrup
2009-11-04 0:09 ` Miles Bader
2009-11-04 9:51 ` grischka
2009-11-04 11:18 ` joakim
2009-11-04 19:29 ` Jan Djärv
2009-11-04 20:57 ` Stefan Monnier
2009-11-05 1:18 ` YAMAMOTO Mitsuharu
2009-11-09 23:14 ` YAMAMOTO Mitsuharu
2009-11-05 9:23 ` Jan D.
2009-11-05 13:59 ` Stefan Monnier
2009-11-05 15:16 ` grischka
2009-11-05 15:32 ` Lennart Borgman
2009-11-05 15:35 ` Óscar Fuentes
2009-11-05 16:07 ` David Kastrup
2009-11-05 23:55 ` Jason Rumney
2009-11-06 0:31 ` Miles Bader
2009-11-06 3:10 ` Stephen J. Turnbull
2009-11-06 4:37 ` Miles Bader
2009-11-06 8:42 ` David Kastrup
2009-11-06 8:55 ` Eli Zaretskii
2009-11-02 14:15 ` Stefan Monnier
2009-11-03 0:32 ` grischka
2009-11-03 1:18 ` Stefan Monnier
2009-11-03 5:37 ` grischka
2009-11-03 13:38 ` Stefan Monnier
2009-11-03 21:10 ` grischka
2009-11-03 23:00 ` Stefan Monnier
2009-11-03 10:02 ` joakim
2009-11-05 9:21 ` Jan D.
2009-11-03 16:36 grischka
2009-11-03 17:13 ` David Kastrup
2009-11-07 11:50 grischka
2009-11-07 16:38 ` Óscar Fuentes
2009-11-07 17:47 ` David De La Harpe Golden
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=jwvbpjl6mxt.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=jasonr@gnu.org \
--cc=miles@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 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.