[squeak-dev] Re: BUG Automagic scrolling ?

karl ramberg karlramberg at gmail.com
Mon Jun 1 22:15:22 UTC 2015


Hi,
All windows with scroll panes are affected, AFAICT.
I'm on Spur, but I doubt that has any significance.

When I move the mouse over a scroll bar it scrolls without clicking on it.
(Alas sometimes it stops auto-scrolling, without any clue why)

Is quite disorienting, stuff scrolls out of view as I move the mouse in and
out of panes.

If this intended behavior, it must/should be made a preference.

Karl

On Mon, Jun 1, 2015 at 10:51 PM, Chris Muller <asqueaker at gmail.com> wrote:

> I can't recreate the problem.  What browser are you using?
>
> The change you mention is consistent with every other type of event
> handling.  It may have exposed another bug somewhere else, but I don't
> think it should be considered a bug, itself.
>
> On Mon, Jun 1, 2015 at 3:20 PM, karl ramberg <karlramberg at gmail.com>
> wrote:
> > The scrolling bug is caused by this change:
> >
> > http://source.squeak.org/trunk/Morphic-cmm.984.mcz
> >
> > Morph>>handlesMouseMove: anEvent
> > "Do I want to receive mouseMove: when the hand passes over the receiver?
> > Rules say that by default a morph gets #mouseMove iff
> > * the hand is not dragging anything,
> > + and some button is down,
> > + and the receiver is the current mouse focus."
> > ---> self eventHandler ifNotNil: [^ self eventHandler handlesMouseMove:
> > anEvent]. <-------
> > anEvent hand hasSubmorphs ifTrue: [ ^ false ].
> > (anEvent anyButtonPressed and: [ anEvent hand mouseFocus == self ])
> ifFalse:
> > [ ^ false ].
> > ^ true
> >
> > There seem to be some unintended behavior because of this change.
> >
> > Karl
> >
> > On Mon, Jun 1, 2015 at 10:11 PM, karl ramberg <karlramberg at gmail.com>
> wrote:
> >>
> >> In latest image the mouse seem to scroll sliders just by mouse over the
> >> scroll bar.
> >> It's a very unusual behavior, and I think I would like to opt out of it.
> >>
> >> Is there a preference or is this a bug ?
> >>
> >> Karl
> >
> >
> >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20150602/c4cb1986/attachment.htm


More information about the Squeak-dev mailing list