Bug 23416

Summary: [GTK] Horizontal scrolling using touchpad is broken
Product: WebKit Reporter: Sebastian Keller <sebastian-keller>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   

Description Sebastian Keller 2009-01-19 02:54:44 PST
When using the horizontal scrolling function of touchpad, while the cursor is not on the scrollbar, it scrolls to the left when it is supposed to scroll to the right and the other way round.
When the scrollbar has reached the end, then for just one step it scrolls in the opposite direction.
Example:
Scrollbar is on the left. I scroll left, the scrollbar moves to right till it reaches the end. I keep on scrolling left, the scrollbar moves one step left and then because it is not at the end anymore it again scrolls to right. This can be repeated indefinitely.

Scrolling in other programs or when the cursor is on the scrollbar works fine.

The events sent according to xev:
Scrolling left:
ButtonPress event, serial 30, synthetic NO, window 0x4200001,
    root 0x79, subw 0x0, time 29056624, (125,110), root:(137,218),
    state 0x0, button 6, same_screen YES

ButtonRelease event, serial 30, synthetic NO, window 0x4200001,
    root 0x79, subw 0x0, time 29056624, (125,110), root:(137,218),
    state 0x0, button 6, same_screen YES

Scrolling right:
ButtonPress event, serial 30, synthetic NO, window 0x4200001,
    root 0x79, subw 0x0, time 29112701, (167,171), root:(179,279),
    state 0x0, button 7, same_screen YES

ButtonRelease event, serial 30, synthetic NO, window 0x4200001,
    root 0x79, subw 0x0, time 29112701, (167,171), root:(179,279),
    state 0x0, button 7, same_screen YES
Comment 1 Sebastian Keller 2009-04-18 07:49:59 PDT

*** This bug has been marked as a duplicate of 24405 ***