Bug 56596

Summary: Overlay scrollbars sometimes fail to appear
Product: WebKit Reporter: Beth Dakin <bdakin>
Component: Layout and RenderingAssignee: Beth Dakin <bdakin>
Status: RESOLVED FIXED    
Severity: Normal CC: bdakin
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Patch darin: review+

Beth Dakin
Reported 2011-03-17 14:45:54 PDT
* SUMMARY The overlay scrollbars fail to appear sometimes… it is pretty reproducible, and has something to do with beginning a scroll while they scrollbars are fading out. * STEPS TO REPRODUCE 1. Using a build with overlay scrollbars, go to a website with a vertical scrollbar 2. Use trackpad to scroll 3. Briefly stop scrolling; leave your 2 fingers on the trackpad 4. When the scrollbars start to fade away, resume scrolling * RESULTS If you time it just right, the scrollbars won't re-appear. You can scroll just fine, there is just no visual scrollbar. <rdar://problem/8953779> Patch forthcoming.
Attachments
Patch (2.77 KB, patch)
2011-03-17 14:48 PDT, Beth Dakin
darin: review+
Beth Dakin
Comment 1 2011-03-17 14:48:01 PDT
Darin Adler
Comment 2 2011-03-17 16:20:01 PDT
Comment on attachment 86097 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=86097&action=review > Source/WebCore/platform/mac/ScrollAnimatorMac.mm:401 > + [[NSAnimationContext currentContext] setDuration:duration]; It’s a little weird that we have to pass the duration here and also to the animation.
Beth Dakin
Comment 3 2011-03-17 16:22:53 PDT
Thanks, Darin! Committed with revision 81406.
Note You need to log in before you can comment on or make changes to this bug.