unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Sam Steingold <sds@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: gtk scroll bar deficiency
Date: Mon, 11 Jun 2007 15:25:03 -0400	[thread overview]
Message-ID: <jwv1wgi5mha.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <466D8F06.6010906@gnu.org> (Sam Steingold's message of "Mon\, 11 Jun 2007 14\:05\:58 -0400")

> I just built emacs with gtk for the first time and I was struck by the
> change in the scroll bar behavior (specifically, the location of the
> sliding "scroll thing" - what is its official name anyway?).

Some toolkits call it the "thumb".

> before: when the whole buffer is visible, the scroll thing in the bar
> occupies the whole scroll bar (clearly indicating that everything is
> visible); when the bottom of the buffer is visible, the scroll thing is
> at the bottom of the scroll bar. this is also the behavior of gedit,
> firefox, openoffice, gnumeric et al, and I like it.

> now: when the whole buffer is visible (more generally, when the bottom
> is visible), the scroll thing does not reach the bottom of the scroll
> bar - you can scroll down and, as the bottom of the buffer scrolls up,
> the scroll thing reaches the bottom of scroll bar (while decreasing in
> its size). this is the behavior of vim, and I hate it.

> is this change intentional?
> it looks like a bug to me...

I'm pretty sure it's intentional.  It's not perfect, but the perfect
behavior (which you get with the non-toolkit build) tends to be difficult to
get with current toolkits because toolkit writers are boneheaded: they
prevent applications from doing some very useful things in order to force
them into a predefined mould which of course doesn't fit all.


        Stefan


PS: Basically, they want to enforce limitations of the physical metaphor,
rather than let people benefit from the fact that it's only a metaphor and
thus doesn't need to suffer from the same limits.  Soon they'll ask for
mouses with feedback so the user has to make a physical effort proportional
to the size of the text/window when sliding the thumb.  Next thing you know,
the scrollbars will wear out and will need regular maintenance so they don't
get wedged.

  reply	other threads:[~2007-06-11 19:25 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-11 18:05 gtk scroll bar deficiency Sam Steingold
2007-06-11 19:25 ` Stefan Monnier [this message]
2007-06-11 19:54   ` Sam Steingold
2007-06-11 21:09     ` Stefan Monnier
2007-06-12  5:52     ` Jan Djärv
2007-06-12  5:57       ` Ralf Angeli
2007-06-12  6:06         ` Jan Djärv
2007-06-12  6:12           ` Ralf Angeli
2007-06-12  7:40             ` Jan Djärv
2007-06-15 20:51               ` Ralf Angeli
2007-06-12 11:09         ` David Reitter
2007-06-12  8:49       ` Andreas Schwab
2007-06-12  9:10         ` Jan Djärv
2007-06-12 13:04       ` Sam Steingold
2007-06-12 13:11         ` David Kastrup
2007-06-12 13:19           ` Sam Steingold
2007-06-12 15:13         ` Stefan Monnier
2007-06-12 22:38     ` Davis Herring
  -- strict thread matches above, loose matches on Subject: below --
2007-06-14  8:52 grischka
2007-06-14  9:20 ` Thien-Thi Nguyen
2007-06-14 11:56   ` grischka
2007-06-14 17:21   ` grischka
2007-06-14 18:22     ` David Reitter
2007-06-14 20:30       ` Jason Rumney
2007-06-15 11:41       ` grischka
2007-06-15 14:48         ` Stefan Monnier
2007-06-18 13:32           ` grischka
2007-06-14 19:05     ` Stefan Monnier
2007-06-15 11:46       ` grischka
2007-06-15 14:56         ` Stefan Monnier
2007-06-15 15:56           ` Sam Steingold
2007-06-15 18:35             ` Stefan Monnier
2007-06-15 18:58               ` Sam Steingold
2007-06-14  9:24 ` Miles Bader

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=jwv1wgi5mha.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=sds@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).