Bug 60045 - Scrollbar thumb sometimes leaves artifacts in the track after scrolling
Summary: Scrollbar thumb sometimes leaves artifacts in the track after scrolling
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Macintosh OS X 10.5
: P2 Normal
Assignee: Beth Dakin
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2011-05-03 11:33 PDT by Beth Dakin
Modified: 2011-05-03 11:45 PDT (History)
1 user (show)

See Also:


Attachments
Patch (1.83 KB, patch)
2011-05-03 11:35 PDT, Beth Dakin
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Beth Dakin 2011-05-03 11:33:01 PDT
Sometimes the scrollbar thumb leaves artifacts of itself at the top and/or bottom of the track after scrolling.

<rdar://problem/9015376>

Patch forthcoming.
Comment 1 Beth Dakin 2011-05-03 11:35:37 PDT
Created attachment 92094 [details]
Patch
Comment 2 mitz 2011-05-03 11:38:00 PDT
Comment on attachment 92094 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=92094&action=review

> Source/WebCore/platform/mac/ScrollbarThemeMac.mm:143
> +#if USE(WK_SCROLLBAR_PAINTER)
> +    gButtonPlacement = ScrollbarButtonsNone;
> +#else

You can return here and not read the default. Or you can return without even setting the value because it’s already initialized to ScrollbarButtonsNone in the static initializer.
Comment 3 Beth Dakin 2011-05-03 11:44:03 PDT
(In reply to comment #2)
> You can return here and not read the default. Or you can return without even setting the value because it’s already initialized to ScrollbarButtonsNone in the static initializer.

Sounds good! Will change.
Comment 4 Beth Dakin 2011-05-03 11:45:41 PDT
Committed change with revision 85629.