This project is read-only.

MouseSelection controller scrolling bug

Nov 17, 2010 at 10:21 AM

Hello. I think, i've found very annoying bug.

Move your mouse to the column header cell and press the left button, holding it for some time.

Scrolling up must begin, because in MouseSelection controller in OnMouseDown BeginScrollTracking is called and then in the timer handler eventually CustomScrollLineUp is called.

Any thoughts how to fix it?

I think, maybe BeginScrollTracking shouldn't be called if you click on a header cell.

 

Thank you.

Nov 25, 2010 at 10:39 AM

> Scrolling up must begin, because in MouseSelection controller in OnMouseDown BeginScrollTracking is called and then in the timer handler eventually CustomScrollLineUp is called.

So what is exactly the problem?

Nov 29, 2010 at 4:28 PM
Edited Dec 6, 2010 at 7:01 PM

Move your mouse to any column header cell and press the left mouse button and hold it for some time.

Scrolling up will happen. Don't you find it's rather strange?

PS. Sorry for english.

Dec 6, 2010 at 7:00 PM
Edited Dec 6, 2010 at 7:09 PM

Hello! So, do you see the problem?

There is one more thing to reproduce it.

You must have quite enough rows in grid to use the vertical scroll bar (i think, the majority of examples  in SourceGrid solution should fit). And before pressing the left mouse button (see the post above), you should scroll down some rows.

Dec 7, 2010 at 10:00 AM

Ok, i've found the bug,

and checked in a solution for that (http://bitbucket.org/dariusdamalakas/sourcegrid/changeset/c161edf8501f)

Please check if the problem persists

Dec 7, 2010 at 4:59 PM

Thank you.

Yes, it was fixed.