[squeak-dev] Re: Mouse Wheel Events, "Point and scroll-by-wheel"
Chris Muller
asqueaker at gmail.com
Tue Jun 7 19:50:39 UTC 2016
Hi,
> there should be no change in the observable behavior by this change. In my
> image, it still scrolls 3 text lines in a text morph and 3 items in a list
> morph. This is specified in ScrollPane >> #mouseWheel: (resp: ScrollPane >>
> #scrollByKeyboard:). Could you please inspect the vertical scrollbar of one
> text morph and one list morph and tell me the value of "scrollDelta"?
16 and 14, respectively.
> And,
> if you have time, could you try it in a fresh Squeak Trunk image? You are
> working under Ubuntu Linux?
Yep.
> If the preference #mouseOverForKeyboardFocus is enabled, "Send Mouse Wheel
> to Keyboard Focus" has no effect because the keyboard focus is always where
> the mouse cursor is. However, there are many users that do disable
> #mouseOverForKeyboardFocus and wished for the Mac behavior for a very long
> time. Bert, for example. Now, you can make scrolling by mouse wheel behave
> like on the Mac:
>
> [ ] mouseOverForKeyboardFocus
> [x] Send Mouse Wheel Events to Keyboard Focus
> [x] Synthesize Mouse Wheel Events from Keyboard Events
Ah, okay, I can see it would slightly alleviates the pain of
click-for-focus. It seemed strange for a moment to imagine why the
wheel should scrol one list, but use of the arrows or filtering keys
would be directed to a different widget.
More information about the Squeak-dev
mailing list
|