1

Closed

LMB / RMB press doesn't stop scroll, but make MMB release ineffective

description

In VS 2012:
 
When trying to abort a MMB scroll action with a LMB, the scroll action won't stop even when the MMB is released, requiring a RMB click to popup the context menu and thus forcing the scroll mode to end.
 
Following change fixes this issue:
 
Line 105:
From -> If mFreeScrolling Then
To -> If mScrolling Then
Closed Aug 29, 2012 at 7:26 PM by ColinBradley

comments

soundlinker wrote Aug 27, 2012 at 9:16 PM

Line 105 of ScrollUICover.xaml.vb

ColinBradley wrote Aug 28, 2012 at 6:14 PM

Ah, so you are clicking other mouse buttons while still holding middle click?
Fair enough, it makes sense that this should stop the scrolling.

Thanks for the suggested fix as well, I will go with that too! : )

wrote Aug 28, 2012 at 8:18 PM

soundlinker wrote Aug 28, 2012 at 9:14 PM

Actually I'm using an Intuos Wacom tablet, where the pen replaced my mouse. The pen has no scroll wheel, so I rely on autoscrolling. The comments in the code stated that LMB and RMB won't bubble, but luckily they do in VS 2012. I skipped 2010, so I don't know if that's the case there.

Is there a way to get this working in the other panes, ie the Solution Explorer?

wrote Aug 29, 2012 at 7:26 PM

Resolved with changeset 69267: Scrolling will now stop after pressing any muse button. Should help touch interfaces?

wrote Feb 13, 2013 at 1:30 AM

wrote May 15, 2013 at 12:55 AM