On Wed, 4 Sep 2002 13:15:25 EDT Mark4Flies@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.
Cheers, Bob
On Wed, 4 Sep 2002, Bob Arning wrote:
On Wed, 4 Sep 2002 13:15:25 EDT Mark4Flies@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
On Wednesday, September 4, 2002, at 04:59 PM, Bob Arning wrote:
On Wed, 4 Sep 2002 13:15:25 EDT Mark4Flies@aol.com wrote:
I just noticed that the System Browser in a MVC project jumps twice (up or 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.
If he's referring to thesame thing as me this is not what is happening. There is a _definite_ double jump; I can see it, and a simple test is to position the cursor right at the bottom (or top) and see if the top (or bottom) item in the list becomes the bottom (or top, or whatever - I'm lost) item. For me, it just exactly twice as far as it should. By changing the delay time for the initial repeat to 500mS it stops being a problem.
tim tim@sumeru.stanford.edu
squeak-dev@lists.squeakfoundation.org