MVC Browswer 'Double Take'

Aaron J Reichow squeak-dev at lists.squeakfoundation.org
Thu Sep 5 00:39:26 UTC 2002


On Wed, 4 Sep 2002, Bob Arning wrote:

> On Wed, 4 Sep 2002 13:15:25 EDT Mark4Flies at aol.com wrote:
> >I just noticed that the System Browser in a MVC project jumps twice (up or
> >down direction) every time I click above or below the scroll rectangle in the
> >scroll bar when the up or down cursor is showing. Try it!
> >
> >I studied the code. (New part of Squeak for me.) I could not find any obvious
> >reason for this behavior.
>
> This is normal. In MVC, the scroll amount is proportional to the distance between the top of the scroll bar and the mouse click location. The lower down you click, the farther you go. See implementors of #scrollAmount.

I don't think the behavior he is describing is normal.  It's not that it
jumps a lot, rather it jumps twice.  Two distinct page-downs.  When this
behavior is found in MVC, it is also in Morphic- at least where it occurs
for me on WinCE 3. This behavior does not exist on Mac OS X.  This lack of
consistency hints to me that it's not normal, but some difference in
handling events.

Regards,
Aaron

  Aaron Reichow  ::  UMD ACM Pres  ::  http://www.d.umn.edu/~reic0024/
  "corporation, n: an ingenious device for obtaining individual profit
          without individual responsibility."        :: ambrose bierce





More information about the Squeak-dev mailing list