RE: Re[4]: annoying wheel mouse isse

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

RE: Re[4]: annoying wheel mouse isse

Steven Kelly
Just thought I'd post the relevant bits of an off-list continuation of
this conversation with Michael Lucas-Smith. I'd say he's pretty much
nailed it, so if anyone fancies implementing it, here's the algorithm! I
guess it would be done like the old double-click sensing - hardly the
pinnacle of elegance, but what else can you do? :-)

Boris> I wonder if apps like Firefox and Acrobat intentionally add a
Boris> continuous poll during a slight delay to ensure you *really*
Boris> meant to press that odd button, but again it's a bit of a
Boris> stretch AFAICT because I can click really fast in Firefox
Boris> and still get the little scrolly thing. Takes the same amount
Boris> of effort to bring up a blue-button menu in VisualWorks here.

MLS>> I'm not 100% sure, but I seem to remember reading that people
MLS>> detect that Mouse Wheel Scroll Up or Mouse Wheel Scroll Down
MLS>> has happened while Mouse Wheel Down is active and if so,
MLS>> don't issue a Mouse Wheel Pressed upon Mouse Wheel Up.

 SK> Another possibility is that apps set a "lastScroll" timestamp
 SK> whenever they receive a wheel scroll event, and ignore wheel
 SK> up/down events within a certain time after that.

MLS> Your approach might also work - though I can get the middle
MLS> function to activate by going scroll+click. I can't get it to
MLS> activate while going scrolling+click+scrolling.

Reply | Threaded
Open this post in threaded view
|

Re: Re[4]: annoying wheel mouse isse

Charles A. Monteiro-2
I would be grateful, certainly worth a couple of beers :)

On Thu, 02 Nov 2006 16:04:36 -0500, Steven Kelly <[hidden email]>  
wrote:

> Just thought I'd post the relevant bits of an off-list continuation of
> this conversation with Michael Lucas-Smith. I'd say he's pretty much
> nailed it, so if anyone fancies implementing it, here's the algorithm! I
> guess it would be done like the old double-click sensing - hardly the
> pinnacle of elegance, but what else can you do? :-)
>
> Boris> I wonder if apps like Firefox and Acrobat intentionally add a
> Boris> continuous poll during a slight delay to ensure you *really*
> Boris> meant to press that odd button, but again it's a bit of a
> Boris> stretch AFAICT because I can click really fast in Firefox
> Boris> and still get the little scrolly thing. Takes the same amount
> Boris> of effort to bring up a blue-button menu in VisualWorks here.
>
> MLS>> I'm not 100% sure, but I seem to remember reading that people
> MLS>> detect that Mouse Wheel Scroll Up or Mouse Wheel Scroll Down
> MLS>> has happened while Mouse Wheel Down is active and if so,
> MLS>> don't issue a Mouse Wheel Pressed upon Mouse Wheel Up.
>
>  SK> Another possibility is that apps set a "lastScroll" timestamp
>  SK> whenever they receive a wheel scroll event, and ignore wheel
>  SK> up/down events within a certain time after that.
>
> MLS> Your approach might also work - though I can get the middle
> MLS> function to activate by going scroll+click. I can't get it to
> MLS> activate while going scrolling+click+scrolling.



--
Charles A. Monteiro
http://wiki.nycsmalltalk.org
http://www.monteirosfusion.com
http://monteirofusion.blogspot.com