Bug 21101 - REGRESSION: Overflow scrollbar inactive after blurring and focusing the window
Summary: REGRESSION: Overflow scrollbar inactive after blurring and focusing the window
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Dave Hyatt
URL: http://www.youtube.com/watch?v=XjkCrf...
Depends on:
Reported: 2008-09-25 08:27 PDT by Timothy Hatcher
Modified: 2008-09-25 18:23 PDT (History)
1 user (show)

See Also:

Screenshot showing the bug (16.98 KB, image/png)
2008-09-25 08:27 PDT, Timothy Hatcher
no flags Details
Patch (2.71 KB, patch)
2008-09-25 18:18 PDT, Dave Hyatt
no flags Details | Formatted Diff | Diff
Patch (1.46 KB, patch)
2008-09-25 18:19 PDT, Dave Hyatt
hyatt: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Hatcher 2008-09-25 08:27:20 PDT
The overflow scroll area's scrollbar on YouTube will correctly show an inactive look when the window is blurred. But focusing the window again does not bring back the active scrollbar look. See screenshot.
Comment 1 Timothy Hatcher 2008-09-25 08:27:50 PDT
Created attachment 23796 [details]
Screenshot showing the bug
Comment 2 Dave Hyatt 2008-09-25 18:05:34 PDT
Not the scrollbar's fault.  The focus controller is buggy and lying.

See RenderLayer.cpp:

Page* page = renderer()->document()->frame()->page();
return page && page->focusController()->isActive();

This is a bug that just happens to have been exposed by the scrollbar.

Comment 3 Dave Hyatt 2008-09-25 18:18:38 PDT
Created attachment 23830 [details]
Comment 4 Dave Hyatt 2008-09-25 18:19:24 PDT
Created attachment 23831 [details]
Comment 5 Timothy Hatcher 2008-09-25 18:20:48 PDT
Comment on attachment 23830 [details]

Comment 6 Dave Hyatt 2008-09-25 18:22:42 PDT
Comment on attachment 23831 [details]

Tim meant to plus this one.
Comment 7 Dave Hyatt 2008-09-25 18:23:32 PDT
Fixed in r36919.