This project is read-only.


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


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 8:26 PM by ColinBradley


soundlinker wrote Aug 27, 2012 at 10:16 PM

Line 105 of ScrollUICover.xaml.vb

ColinBradley wrote Aug 28, 2012 at 7: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 9:18 PM

soundlinker wrote Aug 28, 2012 at 10: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 8:26 PM

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

wrote Feb 13, 2013 at 2:30 AM

wrote May 15, 2013 at 1:55 AM

wrote Dec 1, 2017 at 12:46 PM