unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "grischka" <grishka@gmx.de>
To: "Stefan Monnier" <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org, "Kim F. Storm" <storm@cua.dk>
Subject: Re: vertical scrollbar error on MS Windows
Date: Thu, 22 Feb 2007 00:36:24 +0100	[thread overview]
Message-ID: <009401c75611$3782cbe0$351b90d4@j4f3n1> (raw)
In-Reply-To: jwvzm77tmwk.fsf-monnier+emacs@gnu.org

Stefan Monnier wrote:

> > Here is another fix for the scrollbars.  From the approach
> > it calculates the thumb length once on mouse down and 
> > then leaves bar parameters alone during dragging.
> 
> This approach suffers from the same problems.

Not shure what you mean, works for me. 

> I only know of two simple solutions:
> 1 - set the thumb size to 0 while dragging.

Too much activity on the peripheral visuals for my taste.

> 2 - make the thumb size "fixed" and arrange that when it hits bottom,
>     then the start of the thumb corresponds to position point-max.

If you change the start position then you constantly need 
to watch it whether it's still there where you left it off. 

> The best solution is to change the toolkit such that it doesn't hide from
> you the information that the mouse was moved past the bottom of the
> scrollbar.  This is what Xaw does.  It's generally trivial to do,
> technically, but it usually hits a human brick wall.
> 
> 
>         Stefan

You mean subclass the control? Shure, why not. 

If only there wasn't one more general problem which Xaw 
(if thats what I figure) does not have because it doesn't 
have a slider, really. That is with a slider if you can 
grab it at the lower end, it means you end up pulling 
below the frame bottom and outside the monitor if the 
slider gets shorter during dragging. So ...

-- grischka

  reply	other threads:[~2007-02-21 23:36 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-21  0:24 vertical scrollbar error on MS Windows grischka
2007-02-21  8:07 ` Kim F. Storm
2007-02-21 14:02   ` grischka
2007-02-21 19:01 ` Stefan Monnier
2007-02-21 23:36   ` grischka [this message]
2007-02-26 19:39     ` Stefan Monnier
2007-02-27 19:19       ` grischka
2007-02-27 20:44         ` David Kastrup
2007-02-27 22:56         ` Stefan Monnier
2007-02-28 19:45           ` grischka
2007-02-28 21:45             ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2007-02-28 20:01 grischka
2007-02-28 20:54 ` Lennart Borgman (gmail)
2007-03-01  9:11 ` David Kastrup
     [not found] <b5accf970702131432t76036b4erb72cbe4d86e11077@mail.gmail.com>
     [not found] ` <er4kem$ce7$1@sea.gmane.org>
2007-02-19 14:58   ` Kim F. Storm
2007-02-19 16:13     ` Juanma Barranquero
2007-02-19 22:39       ` Kim F. Storm
2007-02-19 23:01         ` Juanma Barranquero
2007-02-19 23:16           ` Nick Roberts
2007-02-19 17:03     ` Lennart Borgman (gmail)
2007-02-19 22:54       ` Peter Tury
2007-02-22 15:07       ` Stephan Hennig
2007-02-22 15:56         ` Jason Rumney
2007-02-22 16:52           ` Kim F. Storm
2007-02-22 17:00           ` Stephan Hennig
2007-02-22 17:28             ` Kim F. Storm
2007-02-22 23:35         ` Stefan Monnier

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='009401c75611$3782cbe0$351b90d4@j4f3n1' \
    --to=grishka@gmx.de \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=storm@cua.dk \
    /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).