[squeak-dev] Re: BUG Automagic scrolling ?

David T. Lewis lewis at mail.msen.com
Mon Jun 1 22:57:01 UTC 2015


On Tue, Jun 02, 2015 at 12:15:22AM +0200, karl ramberg wrote:
> 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)

I see the same thing, definitely not right.

> 
> 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.

Please no preference. It's broken.

Dave


> 
> 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
> > >
> > >
> > >
> > >
> > >
> >
> >

> 



More information about the Squeak-dev mailing list