Bug 26910

Summary: [Chromium] Middle-click should set scrollbar position for Linux
Product: WebKit Reporter: Daniel Erat <derat>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Trivial CC: agl, fishd
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
patch to resolve issue levin: review+

Description Daniel Erat 2009-07-01 17:04:37 PDT
To fix http://crbug.com/11976, I'd like middle-clicking on the scrollbar base in the Chromium Linux port to center the scrollbar thumb at the cursor.  This is consistent with many other X11 applications (e.g. Firefox and GTK+ apps).

I have a small patch that makes this change (for Linux, while leaving the Windows behavior untouched).  Assuming that this sounds reasonable, I'll attach it to this bug soon.
Comment 1 Daniel Erat 2009-07-01 17:25:01 PDT
Created attachment 32164 [details]
patch to resolve issue
Comment 2 Adam Langley 2009-07-01 17:25:57 PDT
LGTM
Comment 3 David Levin 2009-07-01 17:42:58 PDT
Comment on attachment 32164 [details]
patch to resolve issue

Style looks fine and your fellow platform developer thought it looked good, so r+.