I just realized that the behaviour of Windows in this situation feels buggy. To me it would actually be more usable to allow the mouse to be dragged anywhere on the screen, as long as the mouse button stays down, instead of just within some area close to the scrollbar. KDE and Gnome applications that I am running all appear to allow the mouse to be dragged anywhere on the screen to scroll.
Therefore, I would like to know what other people think. Do we actually want to copy Windows when it makes usability worse and doesn't affect compatibility? Wouldn't it be cool to have a better implementation of the Windows platform?
I still think this patch is an improvement, just not the best solution.
On Mon, May 26, 2008 at 12:59 PM, Dylan Smith dylan.ah.smith@gmail.com wrote:
When dragging the scrollbar thumb with the mouse, the mouse is able to move away from the scrollbar and keep scrolling so long as it isn't too far away from the scrollbar. This makes it easier to quickly scroll with the mouse.
All that this patch changes is the distance that the mouse can be moved away from the scrollbar before it is consider outside of the scrollbar and returns to its original position. The constants are only approximate, since I only tested visually against Windows XP SP3, so it should at least feel the same.
dlls/user32/scroll.c | 19 +++++++++++++++---- 1 files changed, 15 insertions(+), 4 deletions(-)